Difference between revisions of "Form:Newspaper article"
Jump to navigation
Jump to search
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 | + | {{#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" | ||
− | ! | + | ! Organization name: |
− | | {{{field| | + | | {{{field |
+ | |organization_name | ||
+ | |values from property=Organization name | ||
+ | |input type=tokens | ||
+ | |list | ||
+ | |delimiter=; | ||
+ | |mandatory | ||
+ | }}} | ||
|- | |- | ||
− | ! | + | ! Date of publication: |
− | | {{{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 57: | ||
|- | |- | ||
! 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 | ||
+ | }}} | ||
|- | |- | ||
− | ! Page: | + | ! Article image: |
− | | {{{field| | + | | {{{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.