Template:Person: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(46 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 ==
<ul>
<ul>
{{{Contacts|<li>No public contact info.</li>}}}
{{{Contacts|}}}
</ul>
</ul>
{{#ifingroup: member, sysop
}}
<!--
 
-->{{#ifingroup: member, sysop
     |
     |
== Private data ==
== Private Data ==
{{#formlink: form=Private
{{#formlink: form=Private
   |link text=Edit private info
   |link text=Edit
   |target=Personal:{{PAGENAME}}
   |target=Personal:{{PAGENAME}}
   |Private[Full name]={{{Full name|}}}
   |Private[Full name]={{{Full name|}}}
}} <span id="show-private-contacts">Show private contacts</span>
  |returnto={{PAGENAME}}
}} <span><span style="color:#777">{{!}}</span> <span id="show-private-contacts">Show</span></span>
<div id="private-contacts"></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>
}}
}}
[[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