Form:Program: Difference between revisions

From MoHA Wiki
No edit summary
mNo edit summary
 
(12 intermediate revisions by one other user not shown)
Line 10: Line 10:
{{{for template|Program}}}
{{{for template|Program}}}
<p>'''Parent Program: '''</p>
<p>'''Parent Program: '''</p>
{{{field|Parent program|input type=tokens|values={{#ask:[[Category:Programs]][[!{{PAGENAME}}]]|link=none|format=array|sep=,|order=asc|limit=500|searchlabel=}}|max values=1|existing values only}}}
{{{field|Parent program|input type=combobox|values={{#ask:[[Category:Programs]][[!{{PAGENAME}}]]|link=none|format=array|sep=,|order=asc|limit=500|searchlabel=}}|max values=1|existing values only}}}
<p>'''Program type *: </p>
<p>'''Program type *: </p>
{{{field|Program type|input type=tokens|values from property=Program type|mandatory|list|delimiter=;}}}
{{{field|Program type|input type=tokens|values from property=Program type|mandatory|list|delimiter=;}}}
<p>'''Program purpose: </p>
<p>'''Program short description *: </p>
{{{field|Program purpose|input type=textarea|autogrow}}}
{{{field|Program short description|input type=textarea|autogrow|class=form-control}}}
<p>'''Program history: </p>
<p>'''Program dates: </p>
{{{field|Program history|input type=textarea|autogrow}}}
<div class="mb-3">Start {{{field|Program start date|input type=datepicker}}} End {{{field|Program end date|input type=datepicker}}}
</div>
<p>'''Program image: </p>
{{{field|Program image|input type=text|uploadable|image preview}}}
<p>'''Program image caption: </p>
{{{field|Program image caption|input type=textarea|rows=2|autogrow}}}
=== Related persons ===
=== Related persons ===
{{{field|Related persons|holds template}}}
{{{field|Related persons|holds template}}}
Line 24: Line 29:
{{{field|Resources|holds template}}}
{{{field|Resources|holds template}}}
{{{end template}}}
{{{end template}}}
=== Text ===
{{{standard input|free text|editor=wikieditor}}}
{{{for template|Resource|multiple|embed in field=Program[Resources]|add button text=Resource}}}
{{{for template|Resource|multiple|embed in field=Program[Resources]|add button text=Resource}}}
{| class="formtable"
{| class="formtable"
Line 41: Line 48:
|-  
|-  
! Person
! Person
| {{{field|Person|input type=tokens|values from category=People|mandatory}}}
| {{{field|Person|input type=combobox|values from category=People|mandatory}}}
|-
|-
! Role:  
! Role:  
| {{{field|Person role|input type=tokens|values from property=Person role|max values=1}}}
| {{{field|Person role|input type=combobox|values from property=Person role|max values=1}}}
|-
|-
! Distinction:  
! Distinction:  
Line 50: Line 57:
|-
|-
! Position:  
! Position:  
| {{{field|Person position|input type=tokens|values from property=Person position|max values=1}}}
| {{{field|Person position|input type=combobox|values from property=Person position|max values=1}}}
|-
|-
! Date Start:
! Date Start:
Line 69: Line 76:
|-  
|-  
! Organization
! Organization
| {{{field|Organization|input type=tokens|values from category=Organizations|mandatory}}}
| {{{field|Organization|input type=combobox|values from category=Organizations|mandatory}}}
|-
|-
! Role:  
! Role:  
| {{{field|Organization role|input type=tokens|values from property=Organization role|max values=1}}}
| {{{field|Organization role|input type=combobox|values from property=Organization role|max values=1}}}
|-
|-
! Date Start:
! Date Start:
Line 87: Line 94:
|}
|}
{{{end template}}}
{{{end template}}}
'''Free text:'''
{{{standard input|free text|rows=10}}}
</includeonly>
</includeonly>

Latest revision as of 21:23, November 26, 2022