Form:Person: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#formlink:form=Person
{{#formlink:form=Person
|link text=<span class="mw-ui-button">Add a Person</span>
|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>
{{{info|page name=<Person[Full name]>}}}
{{{info|page name=<Person[First name]>_<Person[Last name]>}}}
{{{for template|Person}}}
{{{for template|Person}}} {{{field|Full name|input type=tokens|values from property=Full name|mandatory|max values=1|hidden}}}
{| class="formtable"
<p>'''First name *: </p>
|-
{{{field|First name|input type=tokens|values from property=First name|mandatory|max values=1}}}
! Full name *:  
<p>'''Last name *: </p>
| {{{field|Full name|input type=tokens|values from property=Full name|mandatory|max values=1}}}
{{{field|Last name|input type=tokens|values from property=Last name|mandatory|max values=1}}}
|-
<p>'''Pronoun(s): </p>
! Bio:  
{{{field|Pronouns|input type=tokens|property=Pronoun|mandatory|list|delimiter=;|existing values only}}}
| {{{field|Bio|input type=textarea}}}
<p>'''Bio: '''</p>
|-
{{{field|Bio|input type=textarea}}}
! Positions:  
<p>'''Bio image: '''</p>
| {{{field|Positions|holds template}}}
{{{field|Profile image|input type=text|uploadable|image preview}}}
|-
== Public Contacts ==
! Public Contacts:
{{{field|Contacts|holds template}}}
| {{{field|Contacts|holds template}}}
== Resources ==
|-
{{{field|Resources|holds template}}}
! Resources:
== Positions ==
| {{{field|Resources|holds template}}}
{{{field|Positions|holds template}}}
|}
{{{end template}}}
{{{end template}}}
{{{for template|Position|multiple|embed in field=Person[Positions]}}}
{{{for template|Position|multiple|embed in field=Person[Positions]|add button text=Position}}}
{| class="formtable"
{| class="formtable"
|-
|-
Line 47: Line 51:
|}
|}
{{{end template}}}
{{{end template}}}
{{{for template|Contact|multiple|embed in field=Person[Contacts]}}}
{{{for template|Contact|multiple|embed in field=Person[Contacts]|add button text=Public Contact}}}
{| class="formtable"
{| class="formtable"
|-  
|-  
! Type
! Type
| {{{field|Contact type|input type=dropdown|property=Contact type|show on select=Email=>email;Phone=>phone;Other=>other;}}}  
| {{{field|Contact type|input type=dropdown|property=Contact type|show on select=Email=>email;Phone=>phone;Other=>other;|default=Email|mandatory}}}  
|- id="email"
|- id="email"
! Email:  
! Email:  
Line 61: Line 65:
! Other:  
! Other:  
| {{{field|Other|input type=text}}}
| {{{field|Other|input type=text}}}
|- id="emergency-person"
! Person:
| {{{field|Emergency person|input type=text}}}
|-
|-
!
!
|{{{field|Is preferred|input type=checkbox|label=Is preferred}}} {{{field|Is emergency|input type=checkbox|label=Emergency contact}}}
|{{{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}}}
{{{end template}}}
{{{for template|Resource|multiple|embed in field=Person[Resources]}}}
{{{for template|Resource|multiple|embed in field=Person[Resources]|add button text=Resource}}}
{| class="formtable"
{| class="formtable"
|-  
|-  
! Type
! Type
| {{{field|Resource type|input type=dropdown|property=Resource type}}}
| {{{field|Resource type|input type=dropdown|property=Resource type|default=Discord|mandatory}}}
|-
|-
! Account:  
! Resource:  
| {{{field|Resource value|input type=text}}}
| {{{field|Resource value|input type=text}}}
|-
|-

Latest revision as of 19:56, August 12, 2022