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: {{{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: {{{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> | ||
<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> |}} | ||
{{#if: {{{Place of death|}}} | <li>Place of death: [[{{{Place of death|}}}]] </li> |}} | {{#if: {{{Place of death|}}} | <li>Place of death: [[{{{Place of death|}}}]] </li> |}} | ||
{{#if: {{{Monastery founded|}}} | <li>Monastery founded: {{#arraymap:{{{Monastery founded|}}}|,|x|[[x]]}} </li> |}} | {{#if: {{{Monastery founded|}}} | <li>Monastery founded: {{#arraymap:{{{Monastery founded|}}}|,|x|[[x]]}} </li> |}} | ||
| − | </ul> | + | </ul> |}} |
{{#if: {{{Notes|}}}|<h2 class="h2_person">Notes</h2> {{{Notes|}}}|}} | {{#if: {{{Notes|}}}|<h2 class="h2_person">Notes</h2> {{{Notes|}}}|}} | ||
</div> | </div> | ||
Revision as of 13:54, 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.
