Form:Program: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 15: Line 15:
<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=tokens|values={{#ask:[[Category:Programs]][[!{{PAGENAME}}]]|link=none|format=array|sep=;|order=asc|limit=500|searchlabel=}}|max values=1|existing values only}}}
== Board Members / Leadership ==
<p>'''Board Members / Leadership'''</p>
{{{field|Members|holds template}}}
{{{field|Members|input type=tokens|values from category=People|list|delimiter=;}}}
== Staff ==
<p>'''Staff'''</p>
{{{field|Staff|holds template}}}
{{{field|Staff|input type=tokens|values from category=People|list|delimiter=;}}}
== Sponsors ==
<p>'''Sponsors'''</p>
{{{field|Sponsors|holds template}}}
{{{field|Sponsors|input type=tokens|values from category=Organizations|list|delimiter=;}}}
== Resources ==
<p>'''Resources'''</p>
{{{field|Resources|holds template}}}
{{{field|Resources|holds template}}}
{{{end template}}}
{{{for template|Position|multiple|embed in field=Person[Positions]|add button text=Position}}}
{| class="formtable"
|-
! Organization *
| {{{field|Organization|input type=tokens|values from property=Organization|max values=1|default=Museum of Human Achievement|mandatory}}}
|-
! Type of Person *:
| {{{field|Type of Person|input type=tokens|existing values only|max values=1|property=Type of Person|default=Staff|mandatory|show on select=Staff=>internal;Fellow=>internal;Board=>internal;Volunteer=>external;Artist=>external;Studio Artist=>external}}}
|- id="internal"
! Title (Role):
| {{{field|Title or Role|input type=tokens|values from property=Title or Role|mandatory|max values=1}}}
|-
! Start Date:
| {{{field|Start Date|input type=datepicker}}}
|-
! End Date:
| {{{field|End Date|input type=datepicker}}}
|- id="external"
! Working hours:
| {{{field|Working hours|input type=text}}}
|}
{{{end template}}}
{{{for template|Contact|multiple|embed in field=Person[Contacts]|add button text=Public Contact}}}
{| class="formtable"
|-
! Type
| {{{field|Contact type|input type=dropdown|property=Contact type|show on select=Email=>email;Phone=>phone;Other=>other;|default=Email|mandatory}}}
|- id="email"
! Email:
| {{{field|Email|input type=text}}}
|- id="phone"
! Phone:
| {{{field|Phone|input type=text}}}
|- id="other"
! Other:
| {{{field|Other|input type=text}}}
|-
!
|{{{field|Is preferred|input type=checkbox|label=Is preferred}}} {{{field|Is emergency|input type=checkbox|label=Emergency contact}}}
|}
{{{end template}}}
{{{end template}}}
{{{for template|Resource|multiple|embed in field=Person[Resources]|add button text=Resource}}}
{{{for template|Resource|multiple|embed in field=Person[Resources]|add button text=Resource}}}

Revision as of 12:47, March 22, 2022