Difference between revisions of "Form:Newspaper article"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
if a page with that name already exists, you will be sent to a form to edit that page.
 
if a page with that name already exists, you will be sent to a form to edit that page.
  
{{#forminput:form=Newspaper article|namespace selector=Newspaper article}}
+
{{#forminput:form=Newspaper article|namespace=Newspaper article|autocomplete on namespace=Newspaper article}}
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 10: Line 10:
 
{{{for template|Newspaper article}}}
 
{{{for template|Newspaper article}}}
 
{| class="formtable"
 
{| class="formtable"
! Month:  
+
! Organization name:  
| {{{field|month|input type=text|mandatory|size=2|maxlength=2}}}
+
| {{{field
 +
  |organization_name
 +
  |values from property=Organization name
 +
  |input type=tokens
 +
  |list
 +
  |delimiter=;
 +
  |mandatory
 +
}}}
 
|-
 
|-
! Day:  
+
! Date of publication:  
| {{{field|day|input type=text|size=2|maxlength=2}}}
+
|{{{field|date|hidden}}}
 +
{| class="compact"
 +
|width=90px align=center|<small>[D] or [DD]</small>
 +
|width=90px align=center|<small>[M] or [MM]</small>
 +
|width=90px align=center|<small>[YYYY]</small>
 
|-
 
|-
! Year:  
+
|{{{field
| {{{field|year|input type=year}}}
+
  |day
 +
  |size=4
 +
  |placeholder={{#time:j}}
 +
  |input type=regexp
 +
  |regexp=/^\d*$/
 +
  |message=numbers only
 +
}}}
 +
|{{{field
 +
  |month
 +
  |size=4
 +
  |placeholder={{#time:m}}
 +
  |input type=regexp
 +
  |regexp=/^\d*$/
 +
  |message=numbers only
 +
}}}
 +
|{{{field
 +
  |year
 +
  |size=4
 +
  |placeholder={{#time:Y}}
 +
  |input type=regexp
 +
  |regexp=/^\d*$/
 +
  |message=numbers only
 +
}}}
 +
|}
 
|-
 
|-
 
! Article title:  
 
! Article title:  
Line 23: Line 57:
 
|-
 
|-
 
! Author:  
 
! Author:  
| {{{field|author|input type=text}}}
+
| {{{field
 +
  |author
 +
  |input type=tokens
 +
  |values from property=Full name
 +
  |list
 +
  |delimiter=;
 +
  }}}
 
|-
 
|-
 
! Newspaper title:  
 
! Newspaper title:  
| {{{field|newspaper_title|input type=combobox|existing values only|values=The Creston Journal,The Daily Record,Dalton Banner,Dalton Gazette,Dalton Gazette and Kidron News,The Jacksonian,Ohio Oracle,Orrville Courier-Crescent,Republican Advocate,Rittman Press,Shreve Chronicle,Shreve News,Tri County Weekly News,Wayne County Democrat,Wayne County Herald,Wooster & Wayne Spectator,Wooster Daily News,Wooster Daily Republican,Wooster Democrat,Wooster Journal & Democratic Times,Wooster Morning Republican,Wooster Republican,Wooster Weekly Republican}}}
+
| {{{field
|-
+
  |newspaper_title
! Series title:
+
  |input type=combobox
| {{{field|series_title|input type=text}}}
+
  |property=Newspaper title
 +
  |existing values only
 +
  }}}
 
|-
 
|-
 
! Article image:  
 
! Article image:  
| {{{field|article_image|input type=text}}}
+
| {{{field|image|input type=text|uploadable}}}
 
|-
 
|-
 
! Newspaper section:  
 
! Newspaper section:  
Line 38: Line 80:
 
|-
 
|-
 
! Page number:  
 
! Page number:  
| {{{field|page|input type=text|mandatory|maxlength=2}}}
+
| {{{field|page_number|input type=text|mandatory|maxlength=2}}}
 +
|-
 +
! Series title:
 +
| {{{field|series_title|input type=text}}}
 +
|-
 +
! Subject tags:
 +
| {{{field|subject_tags|input type=tokens|list|delimiter=;|placeholder=Select from the list or add a new one ...}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

Latest revision as of 05:39, 12 August 2022

This is the "Newspaper article" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.