Difference between revisions of "Template:Person"

From Shangpa Resource Center
Line 61: Line 61:
 
}}
 
}}
 
<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: {{{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]]}} |}}<h2 class="h2_person">Associated Places</h2>
{{#if: {{{Teachers|}}} | <h2 class="h2_person">Teachers</h2> {{#arraymap:{{{Teachers|}}}|,|x|[[x]]}} |}}
 
{{#if: {{{Students|}}} | <h2 class="h2_person">Students</h2> {{#arraymap:{{{Students|}}}|,|x|[[x]]}} |}}<h2 class="h2_person">Associated Places</h2>
 
 
  <ul>{{#if: {{{Primary seat|}}} | <li>Primary seat: [[{{{Primary seat|}}}]] </li> |}}
 
  <ul>{{#if: {{{Primary seat|}}} | <li>Primary seat: [[{{{Primary seat|}}}]] </li> |}}
 
   {{#if: {{{Place of birth|}}} | <li>Place of birth: [[{{{Place of birth|}}}]] </li> |}}
 
   {{#if: {{{Place of birth|}}} | <li>Place of birth: [[{{{Place of birth|}}}]] </li> |}}

Revision as of 13:50, 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.