Template:Person: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(50 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 ==
== Contacts ==
{{#ifingroup: member, sysop
  |{{#formlink: form=Private
    |link text=Edit private info
    |target=Personal:{{PAGENAME}}
    |Private[Full name]={{{Full name|}}}
  }}
}}
<ul>
<ul>
{{{Contacts|<li>No public contact info.</li>}}}
{{{Contacts|}}}
{{#if:{{#show: Personal:{{PAGENAME}}|?Modification date}}
  |{{#ifingroup: member, sysop
    |<li id="show-private-contacts">Show private contacts</li>
  }}
}}
</ul>
</ul>
<ul id="private-contacts"></ul>
{{#if: {{#show: Personal:{{PAGENAME}}|?Modification date}}
  |
== Health Info ==
{{#show: Personal:{{PAGENAME}} |?Health info}}
}}
}}
{{:Personal:{{PAGENAME}}}}<!--
<!--


-->{{#if:{{{Resources|}}}
-->{{#ifingroup: member, sysop
     |
     |
;Resources
== Private Data ==
<ul>
{{#formlink: form=Private
{{{Resources|}}}
  |link text=Edit
</ul>
  |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>
}}
== Programs ==
{{#ask: [[-Has subobject::<q>[[Category:Programs]]</q>]][[Person::{{PAGENAME}}]]
  |mainlabel=Program
  |?Person role
  |?Person position
  |?Person distinction
  |?Date Start
  |?Date End
  |?Date format
  |sort=,Date Start
  |order=asc,desc
  |format=plainlist
  |template=Related programs
  |headers=hide
  |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>
}}


-->{{#if:{{{Positions|}}}
{{#if:{{{Resources|}}}
     |
     |
;Positions
== Resources ==
<ul>
<ul>
{{{Positions|}}}
{{{Resources|}}}
</ul>
</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