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 |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#formlink:form=Person | |||
|link text=<span class="mw-ui-button">Add a Person</span> | |||
}} | |||
{{#ask: | |||
{{# | [[Category:People]] | ||
|format=table | |||
|class=smwtable-clean compact datatable | |||
}} | |||
</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> | ||
{{{for template|Person}}} | {{{info|page name=<Person[First name]>_<Person[Last name]>}}} | ||
{{{for template|Person}}} {{{field|Full name|input type=tokens|values from property=Full name|mandatory|max values=1|hidden}}} | |||
<p>'''First name *: </p> | |||
{{{field|First name|input type=tokens|values from property=First name|mandatory|max values=1}}} | |||
<p>'''Last name *: </p> | |||
{{{field|Last name|input type=tokens|values from property=Last name|mandatory|max values=1}}} | |||
<p>'''Pronoun(s): </p> | |||
{{{field|Pronouns|input type=tokens|property=Pronoun|mandatory|list|delimiter=;|existing values only}}} | |||
<p>'''Bio: '''</p> | |||
{{{field|Bio|input type=textarea}}} | |||
<p>'''Bio image: '''</p> | |||
{{{field|Profile image|input type=text|uploadable|image preview}}} | |||
== Public Contacts == | |||
{{{field|Contacts|holds template}}} | |||
== Resources == | |||
{{{field|Resources|holds template}}} | |||
== Positions == | |||
{{{field|Positions|holds template}}} | |||
{{{end template}}} | |||
{{{for template|Position|multiple|embed in field=Person[Positions]|add button text=Position}}} | |||
{| class="formtable" | {| class="formtable" | ||
|- | |- | ||
! | ! Organization * | ||
| {{{field| | | {{{field|Organization|input type=tokens|values from property=Organization|max values=1|default=Museum of Human Achievement|mandatory}}} | ||
|- | |- | ||
! Title | ! Type of Person *: | ||
| {{{field|Title or Role|input type= | | {{{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: | ! Start Date: | ||
| {{{field|Start Date|input type= | | {{{field|Start Date|input type=datepicker}}} | ||
|- | |- | ||
! End Date: | ! End Date: | ||
| {{{field|End Date|input type= | | {{{field|End Date|input type=datepicker}}} | ||
|- | |- id="external" | ||
! 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]|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}}} | |||
|- id="emergency-person" | |||
! Person: | |||
| {{{field|Emergency person|input type=text}}} | |||
|- | |- | ||
! | ! | ||
| {{{field| | |{{{field|Is preferred|input type=checkbox|label=Is preferred}}} {{{field|Is emergency|input type=checkbox|show on select=Yes=>emergency-person|label=Emergency contact}}} | ||
|- | |} | ||
! | {{{end template}}} | ||
| {{{field| | {{{for template|Resource|multiple|embed in field=Person[Resources]|add button text=Resource}}} | ||
{| class="formtable" | |||
|- | |||
! Type | |||
| {{{field|Resource type|input type=dropdown|property=Resource type|default=Discord|mandatory}}} | |||
|- | |- | ||
! | ! Resource: | ||
| {{{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> |