Template:Person: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(52 intermediate revisions by the same user not shown)
Line 2: Line 2:


-->{{#set:
-->{{#set:
     |Full name={{{Full name|}}}
     |Full name={{#if:{{{Last name|}}}{{{First name|}}}|{{{Last name|}}}, {{{First name|}}}|{{PAGENAME}}}}
    |First name={{{First name|}}}
    |Last name={{{Last name|}}}
    |Pronoun={{{Pronouns|}}}|+sep=;
     |Bio={{{Bio|}}}
     |Bio={{{Bio|}}}
     |Profile image=File:{{PAGENAME:{{{Profile image|Moha.wiki logo.png}}}}}
     |Bio image=File:{{PAGENAME:{{{Bio image|Moha.wiki logo.png}}}}}
   }}<!--
   }}<!--


-->{{#createpageifnotex: Personal:{{PAGENAME}}|<nowiki>{{Private}}</nowiki>}}
--><!-- {{#createpageifnotex: Personal:{{PAGENAME}}|<nowiki>{{Private}}</nowiki>}}--><!--
 
-->[[Category:People]]__NOEDITSECTION____NOTOC__{{{Positions|}}}
== Person Data ==
{| class="wikitable"
|-
!First name
|'''{{{First name|}}}'''
|-
!Last name
|'''{{{Last name|}}}'''
|-
!Pronoun
|{{{Pronouns|}}}
|}
== Bio ==
== Bio ==
<div>
<div>
[[File:{{PAGENAME:{{{Profile image|Moha.wiki logo.png}}}}}|thumb]]
[[File:{{PAGENAME:{{{Bio image|Moha.wiki logo.png}}}}}|thumb]]
{{{Bio|}}}
{{{Bio|}}}
</div>
</div>
{{#if:{{{Contacts|}}}|
== Contacts ==
<ul>
{{{Contacts|}}}
</ul>
}}
<!--


== Contacts ==
-->{{#ifingroup: member, sysop
{{#ifingroup: member, sysop
    |
  |{{#formlink: form=Private
== Private Data ==
    |link text=Edit private info
{{#formlink: form=Private
    |target=Personal:{{PAGENAME}}
  |link text=Edit
    |Private[Full name]={{{Full name|}}}
  |target=Personal:{{PAGENAME}}
  }}
  |Private[Full name]={{{Full name|}}}
  |returnto={{PAGENAME}}
}} <span><span style="color:#777">{{!}}</span> <span id="show-private-contacts">Show</span></span>
<div id="private-contacts"></div>
}}
}}
<ul>
== Programs ==
{{{Contacts|<li>No public contact info.</li>}}}
{{#ask: [[-Has subobject::<q>[[Category:Programs]]</q>]][[Person::{{PAGENAME}}]]  
{{#ask: [[-Has subobject::Personal:{{PAGENAME}}]]
  |mainlabel=Program
   |?Contact type
   |?Person role
   |?Email
   |?Person position
   |?Phone
   |?Person distinction
   |?Other contact
   |?Date Start
   |?Is preferred
   |?Date End
   |?Is emergency contact
   |?Date format
   |mainlabel=-
  |sort=,Date Start
   |order=asc,desc
  |format=plainlist
  |template=Related programs
   |headers=hide
   |headers=hide
  |format=plainlist
  |template=Contact item
   |named args=yes
   |named args=yes
  |intro=<table class="smwtable-clean sortable"><tr><th>Program</th><th>Role</th><th>Distinction</th><th>Position</th><th>From</th><th>To</th></tr>
  |outro=</table>
}}
}}
</ul>
{{#if: {{#show: Personal:{{PAGENAME}}|?Modification date}}
  |
== Health Info ==
{{#show: Personal:{{PAGENAME}} |?Health info}}
}}<!--


-->{{#if:{{{Resources|}}}
{{#if:{{{Resources|}}}
     |
     |
;Resources
== Resources ==
<ul>
<ul>
{{{Resources|}}}
{{{Resources|}}}
</ul>
</ul>
}}<!--
-->{{#if:{{{Positions|}}}
    |
;Positions
<ul>
{{{Positions|}}}
</ul>
}}
}}
[[Category:People]]
{{#ask:
  [[-Has subobject::{{PAGENAME}}]]
  [[Type of Person::+]]
  |?Organization
  |?Type of Person
  |?Title or Role
  |?Start Date
  |?End Date
  |?Working hours
  |mainlabel=-
  |format=plainlist
  |headers=hide
  |template=Role
  |named args=yes
  |intro=<h2>Roles</h2>
}}
== Additional Info ==
</includeonly>
</includeonly>

Latest revision as of 10:13, September 4, 2023