Form:Person: Difference between revisions
From MoHA Wiki
(Created page with "<noinclude> This is the "Person" 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...") |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Person" form. | This is the "Person" form. | ||
{{# | {{#formlink:form=Person | ||
|link text=<span class="mw-ui-button">Add a Person</span> | |||
}} | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<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> | ||
{{{info|page name=<Person[Full name]>}}} | |||
{{{for template|Person}}} | {{{for template|Person}}} | ||
{| class="formtable" | {| class="formtable" | ||
|- | |- | ||
! Full name: | ! Full name *: | ||
| {{{field|Full name|input type= | | {{{field|Full name|input type=tokens|values from property=Full name|mandatory|max values=1}}} | ||
|- | |- | ||
! Title | ! Bio: | ||
| {{{field|Title or Role|input type= | | {{{field|Bio|input type=text}}} | ||
|- | |||
! Positions: | |||
| {{{field|Positions|holds template}}} | |||
|- | |||
! Public Contacts: | |||
| {{{field|Contacts|holds template}}} | |||
|- | |||
! Resources: | |||
| {{{field|Resource|holds template}}} | |||
|} | |||
{{{end template}}} | |||
{{{for template|Position|multiple|embed in field=Person[Positions]}}} | |||
{| 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=checkboxes|property=Type of Person|list|delimiter=;|show on select=Staff=>staff;Fellow=>fellow;Volunteer=>volunteer;Board=>board;Artist=>artist;Studio Artist=>studio;Staff=>internal;Fellow=>internal;Board=>internal|default=Staff|mandatory}}} | |||
|- id="internal" | |||
! <span id="staff">Title</span><span id="fellow">Title</span><span id="board">Role</span>: | |||
| {{{field|Title or Role|input type=tokens|values from property=Title or Role|mandatory|max values=1}}} | |||
|- | |- | ||
! Start Date: | ! Start Date: | ||
Line 27: | Line 48: | ||
! Working hours: | ! Working hours: | ||
| {{{field|Working hours|input type=text}}} | | {{{field|Working hours|input type=text}}} | ||
|} | |||
{{{end template}}} | |||
{{{for template|Contact|multiple|embed in field=Person[Contacts]}}} | |||
{| class="formtable" | |||
|- | |||
! Type | |||
| {{{field|Contact type|input type=dropdown|property=Contact type}}} | |||
|- | |- | ||
! | ! Account: | ||
| {{{field| | | {{{field|Contact value|input type=text}}} | ||
|- | |||
! | |||
| {{{field|Is preferred|input type=checkbox|label=Is preferred}}} | |||
|- | |- | ||
! | ! | ||
| {{{field| | | {{{field|Is emergency|input type=checkbox|label=Emergency contact}}} | ||
|} | |||
{{{end template}}} | |||
{{{for template|Resource|multiple|embed in field=Person[Resources]}}} | |||
{| class="formtable" | |||
|- | |||
! Type | |||
| {{{field|Resource type|input type=dropdown|property=Resource type}}} | |||
|- | |- | ||
! | ! Account: | ||
| {{{field| | | {{{field|Resource value|input type=text}}} | ||
|- | |- | ||
! | ! Comment: | ||
| {{{field| | | {{{field|Resource comment|input type=textarea|rows=4}}} | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
'''Free text:''' | '''Free text:''' | ||
{{{standard input|free text|rows=10}}} | {{{standard input|free text|rows=10}}} | ||
</includeonly> | </includeonly> |