Difference between revisions of "Form:Newspaper article"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
{{{for template|Newspaper article}}} | {{{for template|Newspaper article}}} | ||
{| class="formtable" | {| class="formtable" | ||
− | |||
− | |||
|- | |- | ||
− | ! | + | ! Date: |
− | | {{{field| | + | |{{{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> | ||
|- | |- | ||
− | + | |{{{field | |
− | | {{{field|year|input type= | + | |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 48: | ||
|- | |- | ||
! Author: | ! Author: | ||
− | | {{{field|author|input type= | + | | {{{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 | + | | {{{field |
+ | |newspaper_title | ||
+ | |input type=combobox | ||
+ | |property=Newspaper title | ||
+ | |existing values only | ||
+ | }}} | ||
|- | |- | ||
! Series title: | ! Series title: | ||
Line 32: | Line 68: | ||
|- | |- | ||
! Article image: | ! Article image: | ||
− | | {{{field|article_image|input type=text}}} | + | | {{{field|article_image|input type=text|uploadable}}} |
|- | |- | ||
! Newspaper section: | ! Newspaper section: | ||
Line 38: | Line 74: | ||
|- | |- | ||
! Page number: | ! Page number: | ||
− | | {{{field| | + | | {{{field|page_number|input type=text|mandatory|maxlength=2}}} |
|} | |} | ||
{{{end template}}} | {{{end template}}} |
Revision as of 05:22, 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.