Difference between revisions of "Template:Text"

From Shangpa Resource Center
Line 40: Line 40:
 
! Alt. title
 
! Alt. title
 
| {{#arraymap:{{{OtherTitles|}}}|,|x|[[x]]}} |- |}}
 
| {{#arraymap:{{{OtherTitles|}}}|,|x|[[x]]}} |- |}}
 +
{{#if: {{{Subject|}}} |
 
! Topics
 
! Topics
| {{#arraymap:{{{Subject|}}}|,|x|[[:Subject:x|x]]}}
+
| {{#arraymap:{{{Subject|}}}|,|x|[[:Subject:x|x]]}} |- |}}
|-{{#if: {{{OtherTitles|}}} |
+
{{#if: {{{SubTopics|}}} |
 
! Sub-Topics
 
! Sub-Topics
 
| {{#arraymap:{{{SubTopics|}}}|,|x|x}} |- |}}
 
| {{#arraymap:{{{SubTopics|}}}|,|x|x}} |- |}}
! Author
+
{{#if: {{{Author|}}} | ! Author
| {{#arraymap:{{{Author|}}}|,|x|[[x]]}}
+
| {{#arraymap:{{{Author|}}}|,|x|[[x]]}} |- |}}
|-
+
{{#if: {{{Associated Person|}}} | ! Associated Person
! Associated Person
+
| {{#arraymap:{{{Associated Person|}}}|,|x|[[x]]}} |- |}}
| {{#arraymap:{{{Associated Person|}}}|,|x|[[x]]}}
+
{{#if: {{{BDRC link|}}} | ! Link
|-
+
| {{{BDRC link|}}} |- |}}
! Link
+
{{#if: {{{Classification|}}} | ! Classification
| {{{BDRC link|}}}  
+
| {{#arraymap:{{{Classification|}}}|,|x|[[x]]}} |- |}}
|-
+
{{#if: {{{Notes|}}} | ! Notes
! Classification
+
| {{{Notes|}}} |}}
| {{#arraymap:{{{Classification|}}}|,|x|[[x]]}}
 
|-
 
! Notes
 
| {{{Notes|}}}
 
 
|}
 
|}
 
</div>
 
</div>

Revision as of 18:52, 9 December 2018

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

{{Text
|Text ID=
|Tibetan Title=
|Wylie Title=
|Other titles=
|Subject=
|SubTopics=
|Author=
|Associated Person=
|BDRC link=
|Classification=
|Notes=
}}

Edit the page to see the template text.