Template:Person: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(65 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}}}}<!--
--><!-- {{#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><!--
-->{{#if:{{{Contacts|}}}
    |
;Contacts
{{#ifingroup: member, sysop
  |<span id="show-private-info" class="mw-ui-button">Show private info</span>
<div id="private-info">
{{#ask: [[Personal:+]]|?Modification date }}
</div>
</div>
}}
{{#if:{{{Contacts|}}}|
== Contacts ==
<ul>
<ul>
{{{Contacts|}}}
{{{Contacts|}}}
</ul>
</ul>
}}<!--
}}
<!--


-->{{#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>
}}
}}
{{#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