Template:Person: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(58 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>}}--><!--


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


-->{{#ifingroup: member, sysop
-->{{#ifingroup: member, sysop
     |{{#formlink: form=Private
     |
        |link text=<span id="create-private-info" class="mw-ui-button">Edit private info</span>
== Private Data ==
        |target=Personal:{{PAGENAME}}
{{#formlink: form=Private
        |Private[Full name]={{{Full name|}}}
  |link text=Edit
      }}
  |target=Personal:{{PAGENAME}}
  }}<!--
  |Private[Full name]={{{Full name|}}}
 
  |returnto={{PAGENAME}}
-->{{#if: {{#show: Personal:{{PAGENAME}}|?Modification date}}
}} <span><span style="color:#777">{{!}}</span> <span id="show-private-contacts">Show</span></span>
    |<div id="private-info">{{#show: Personal:{{PAGENAME}} |?Health info}}</div>
<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:{{{Resources|}}}
{{#if:{{{Resources|}}}
     |
     |
;Resources
== Resources ==
<ul>
<ul>
{{{Resources|}}}
{{{Resources|}}}
</ul>
</ul>
}}<!--
-->{{#if:{{{Positions|}}}
    |
;Positions
<ul>
{{{Positions|}}}
</ul>
}}
}}
{{#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