Form:Document2: Difference between revisions
(Created page with "<noinclude> This is the "Document" 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. {{#forminput:form=Document}} </noinclude><includeonly> <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> '''Free text:''' {{{standard input|free text|rows=10}}} {{{for template|Document2}}} {| class="for...") |
No edit summary |
||
(5 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=Document}} | {{#forminput:form=Document2|autocomplete on category:Document}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 47: | Line 47: | ||
! Tags: | ! Tags: | ||
| {{{field|Tags|input type=text with autocomplete}}} | | {{{field|Tags|input type=text with autocomplete}}} | ||
|} | |||
{{{end template}}} | |||
== Sections == | |||
These are the structured parts of this document that can be included to the pretty printed document via templates and queried for visualization. | |||
{{{for template|Section|multiple|label=Sections}}} | |||
{| class="formtable" | |||
! Type: | |||
| {{{field|Type|input type=combobox|values=Tavoite,Periaate|default=Tavoite}}} | |||
|- | |- | ||
! | ! Ordinal: | ||
| {{{field| | | {{{field|Ordinal|input type=number|default=0}}} | ||
|- | |||
! Name: | |||
| {{{field|Name|input type=text|default=}}} | |||
|- | |||
! Description: | |||
| {{{field|Description|input type=textarea|default=}}} | |||
|- | |||
! Deadline year: | |||
| {{{field|Deadline year|input type=number|default=}}} | |||
|- | |||
! Tags: | |||
| {{{field|Tags|input type=text with autocomplete}}} | |||
|- | |||
! Actions: | |||
| {{{field|Actions|holds template}}} | |||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|Action|multiple|label=Add actions related to this section|embed in field=Section[Actions]}}} | |||
'''Ordinal:''' {{{field|Ordinal|input type=number}}} | |||
'''Name:''' {{{field|Name|input type=text|default=}}} | |||
'''Description:''' {{{field|Description|input type=textarea|default=}}} | |||
'''Deadline year:''' {{{field|Deadline year|input type=number|default=}}} | |||
'''Responsible actor:''' {{{field|Responsible actor|input type=text with autocomplete|values from property=Responsible actor}}} | |||
'''Tags:''' {{{field|Tags|input type=text with autocomplete}}} | |||
{{{end template}}} | |||
</includeonly> | </includeonly> |
Latest revision as of 13:37, 18 October 2022
This is the "Document" 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.