Difference between revisions of "Template:Person"

From Shangpa Resource Center
Line 64: Line 64:
 
{{#arraymap:{{{Name Variants|}}}|,|x|x}}
 
{{#arraymap:{{{Name Variants|}}}|,|x|x}}
 
<h2>Teachers</h2>
 
<h2>Teachers</h2>
{{#arraymap:{{{Teachers|}}}|,|x|x}}
+
{{#arraymap:{{{Teachers|}}}|,|x|[[x]]}}
 
<h2>Students</h2>
 
<h2>Students</h2>
{{#arraymap:{{{Students|}}}|,|x|x}}
+
{{#arraymap:{{{Students|}}}|,|x|[[x]]}}
 
<h2>Associated Places</h2>
 
<h2>Associated Places</h2>
  <ul><li>Primary seat:  {{{Primary seat|}}} </li>
+
  <ul><li>Primary seat:  [[{{{Primary seat|}}}]] </li>
  <li>Place of birth:  {{{Place of birth|}}} </li>
+
  <li>Place of birth:  [[{{{Place of birth|}}}]] </li>
  <li>Place of death: {{{Place of death|}}} </li>
+
  <li>Place of death: [[{{{Place of death|}}}]] </li>
  <li>Monastery founded: {{#arraymap:{{{Monastery founded|}}}|,|x|x}}</li>
+
  <li>Monastery founded: {{#arraymap:{{{Monastery founded|}}}|,|x|[[x]]}}</li>
 
</ul>
 
</ul>
<h2>Associated lineages</h2>
+
{{#if: {{{Associated lineages|}}}|<h2>Associated lineages</h2> {{#arraymap:{{{Associated lineages|}}}|,|x|x}}|}}
{{#arraymap:{{{Associated lineages|}}}|,|x|x}}
+
{{#if: {{{Notes|}}}|<h2>Notes</h2> {{{Notes|}}}|}}  
<h2>Notes</h2>
 
{{{Notes|}}}  
 
 
</div>
 
</div>
  
 
[[Category:Person]]
 
[[Category:Person]]
 
</includeonly>
 
</includeonly>

Revision as of 09:54, 11 December 2018

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.