Difference between revisions of "Template:Person"

From Shangpa Resource Center
Line 77: Line 77:
 
</ul> |}}{{#ifexpr: {{#arraysize:MyTextAuthorArray}}+{{#arraysize:MyTextAssociatedArray}} = 0 ||<h2 class="h2_person">Associated works</h2>}}{{#ifeq: {{#arraysize:MyTextAuthorArray}} | 0 || <h3 class="h3_person">Author</h3><ul>{{#arrayprint: MyTextAuthorArray||@@@@|<li>[[@@@@]]</li> }}</ul> }}{{#ifeq: {{#arraysize:MyTextAssociatedArray}} | 0 || <h3 class="h3_person">Associated</h3><ul>{{#arrayprint: MyTextAssociatedArray||@@@@|<li>[[@@@@]]</li> }}</ul> }}
 
</ul> |}}{{#ifexpr: {{#arraysize:MyTextAuthorArray}}+{{#arraysize:MyTextAssociatedArray}} = 0 ||<h2 class="h2_person">Associated works</h2>}}{{#ifeq: {{#arraysize:MyTextAuthorArray}} | 0 || <h3 class="h3_person">Author</h3><ul>{{#arrayprint: MyTextAuthorArray||@@@@|<li>[[@@@@]]</li> }}</ul> }}{{#ifeq: {{#arraysize:MyTextAssociatedArray}} | 0 || <h3 class="h3_person">Associated</h3><ul>{{#arrayprint: MyTextAssociatedArray||@@@@|<li>[[@@@@]]</li> }}</ul> }}
 
{{#if: {{{Notes|}}}|<h2 class="h2_person">Notes</h2> {{{Notes|}}}|}}  
 
{{#if: {{{Notes|}}}|<h2 class="h2_person">Notes</h2> {{{Notes|}}}|}}  
<h2 class="h2_person">{{{PersonClassification|}}}|}} </h2>
+
<h2 class="h2_person">{{{PersonClassification|}}}</h2>
 
</div>
 
</div>
  
 
[[Category:Person]]
 
[[Category:Person]]
 
</includeonly>
 
</includeonly>

Revision as of 20:28, 14 May 2019

This is the "Person" template. It should be called in the following format:

{{Person
|PersonID=
|Gender=
|Date of Birth=
|Date of Death=
|Name Variants=
|Notes=
|Teachers=
|Students=
|Primary seat=
|Place of birth=
|Place of death=
|Monastery founded=
|Associated lineages=
|Links=
|PersonClassification=
}}

Edit the page to see the template text.