Form:Article: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{info|create title=Edit|edit title=Edit|page name={{FULLPAGENAME}}}}} | |||
{{{for template|Article}}} | {{{for template|Article}}} | ||
{| class="formtable press" | {| class="formtable press" | ||
|- | |- | ||
! | ! | ||
| {{{field|Is published|input type=checkbox|label=Published|class=mr-3}}} | | {{{field|Is published|input type=checkbox|label=Published|class=mr-3|show on select=Yes=>date_published;Yes=>article_author}}} | ||
|- id="date_published" | |||
! Date Published: | |||
| {{{field|Date Published|input type=datepicker}}} | |||
|- id="article_author" | |||
! Author(s): | |||
| {{{field|Article authors|input type=tokens|values from property=Article author|list|delimiter=;|class=rounded-0}}} {{multiple|;|Start typing and select from the list. Continue typing and push <code>Enter</code> to add new authors.}} | |||
|- | |- | ||
! Program: | ! Program: | ||
| {{{field| | | {{{field|Program|input type=combobox|values from category=Programs|existing values only}}} | ||
|- | |- | ||
! Other categories: | ! Other categories: | ||
| {{{field|Categories|input type=tree|top category | | {{{field|Categories|input type=tree|top category=Article|list|delimiter=;|hideroot|class=rounded-0}}} {{multiple|;|Tick boxes to select several categories.}} | ||
|- | |||
! Event: | |||
| {{{field|Event|input type=tokens|values from category=Events|existing values only|class=rounded-0}}} | |||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
Line 25: | Line 34: | ||
{{{standard input|free text|rows=20}}} | {{{standard input|free text|rows=20}}} | ||
{{{standard input|save}}} {{{standard input|cancel}}} | |||
</includeonly> | </includeonly> |
Latest revision as of 20:45, March 27, 2024
This is the "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.