Form:Program: Difference between revisions
From MoHA Wiki
No edit summary |
mNo edit summary |
||
(15 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | ||
{{{for template|Program}}} | {{{for template|Program}}} | ||
<p>'''Parent Program: '''</p> | <p>'''Parent Program: '''</p> | ||
{{{field|Parent program|input type= | {{{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 | <p>'''Program short description *: </p> | ||
{{{field|Program | {{{field|Program short description|input type=textarea|autogrow|class=form-control}}} | ||
<p>'''Program | <p>'''Program dates: </p> | ||
{{{field|Program | <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 26: | 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 43: | Line 48: | ||
|- | |- | ||
! Person | ! Person | ||
| {{{field|Person|input type= | | {{{field|Person|input type=combobox|values from category=People|mandatory}}} | ||
|- | |- | ||
! Role: | ! Role: | ||
| {{{field|Person role|input type= | | {{{field|Person role|input type=combobox|values from property=Person role|max values=1}}} | ||
|- | |- | ||
! Distinction: | ! Distinction: | ||
Line 52: | Line 57: | ||
|- | |- | ||
! Position: | ! Position: | ||
| {{{field|Person position|input type= | | {{{field|Person position|input type=combobox|values from property=Person position|max values=1}}} | ||
|- | |- | ||
! Date Start: | ! Date Start: | ||
| {{{field|Date | | {{{field|Date Start|input type=datepicker}}} | ||
|- | |- | ||
! Date End: | ! Date End: | ||
| {{{field|Date | | {{{field|Date End|input type=datepicker}}} | ||
|- | |- | ||
| Date formatting: | | Date formatting: | ||
Line 71: | Line 76: | ||
|- | |- | ||
! Organization | ! Organization | ||
| {{{field|Organization|input type= | | {{{field|Organization|input type=combobox|values from category=Organizations|mandatory}}} | ||
|- | |- | ||
! Role: | ! Role: | ||
| {{{field|Organization role|input type= | | {{{field|Organization role|input type=combobox|values from property=Organization role|max values=1}}} | ||
|- | |- | ||
! Date Start: | ! Date Start: | ||
| {{{field|Date | | {{{field|Date Start|input type=datepicker}}} | ||
|- | |- | ||
! Date End: | ! Date End: | ||
| {{{field|Date | | {{{field|Date Start|input type=datepicker}}} | ||
|- | |- | ||
| Date formatting: | | Date formatting: | ||
Line 89: | Line 94: | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
</includeonly> | </includeonly> |