Difference between revisions of "Template:Person"

From Shangpa Resource Center
Line 63: Line 63:
 
  |{{#ask: [[Author::{{BASEPAGENAME}}]] |mainlabel=- |headers=hide |link=none |limit=5000 |?TibetanTitle }}
 
  |{{#ask: [[Author::{{BASEPAGENAME}}]] |mainlabel=- |headers=hide |link=none |limit=5000 |?TibetanTitle }}
 
  |, | sort=asc, unique
 
  |, | sort=asc, unique
}}
+
}}{{#arraydefine: MyTextAssociatedArray
{{#arraydefine: MyTextAssociatedArray
 
 
  |{{#ask: [[Associated Person::{{BASEPAGENAME}}]] |mainlabel=- |headers=hide |link=none |limit=5000 |?TibetanTitle }}
 
  |{{#ask: [[Associated Person::{{BASEPAGENAME}}]] |mainlabel=- |headers=hide |link=none |limit=5000 |?TibetanTitle }}
 
  |, | sort=asc, unique
 
  |, | sort=asc, unique
}}
+
}}<div class="text_right_column">
<div class="text_right_column">
 
 
{{#if: {{{Name Variants|}}} | <h2 class="h2_person">Name Variants</h2> {{#arraymap:{{{Name Variants|}}}|,|x|x}} |}}{{#if: {{{Teachers|}}} | <h2 class="h2_person">Teachers</h2> {{#arraymap:{{{Teachers|}}}|,|x|[[x]]}} |}}{{#if: {{{Students|}}} | <h2 class="h2_person">Students</h2> {{#arraymap:{{{Students|}}}|,|x|[[x]]}} |}}
 
{{#if: {{{Name Variants|}}} | <h2 class="h2_person">Name Variants</h2> {{#arraymap:{{{Name Variants|}}}|,|x|x}} |}}{{#if: {{{Teachers|}}} | <h2 class="h2_person">Teachers</h2> {{#arraymap:{{{Teachers|}}}|,|x|[[x]]}} |}}{{#if: {{{Students|}}} | <h2 class="h2_person">Students</h2> {{#arraymap:{{{Students|}}}|,|x|[[x]]}} |}}
 
{{#if: {{{Primary seat|}}}{{{Place of birth|}}}{{{Place of death|}}}{{{Monastery founded|}}} | <h2 class="h2_person">Associated Places</h2>
 
{{#if: {{{Primary seat|}}}{{{Place of birth|}}}{{{Place of death|}}}{{{Monastery founded|}}} | <h2 class="h2_person">Associated Places</h2>

Revision as of 14:17, 16 February 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=
}}

Edit the page to see the template text.