Difference between revisions of "Form:Newspaper article"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
m (Undo revision 246156 by Mywikis (talk))
Tag: Undo
 
(7 intermediate revisions by 2 users 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 Daily Record,The Jacksonian,Ohio Oracle,Republican Advocate,Rittman Press,Wayne County Democrat,Wooster Daily News,Wooster Daily Republican,Wooster Democrat,Wooster Republican}}}
+
| {{{field
 +
  |newspaper_title
 +
  |input type=combobox
 +
  |property=Newspaper title
 +
  |existing values only
 +
  }}}
 
|-
 
|-
! Page:  
+
! Article image:
| {{{field|page|input type=text}}}
+
| {{{field|image|input type=text|uploadable}}}
 +
|-
 +
! Newspaper section:
 +
| {{{field|newspaper_section|input type=text}}}
 +
|-
 +
! Page number:
 +
| {{{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.