Difference between revisions of "Template:Text"

From Shangpa Resource Center
Line 18: Line 18:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
{{#set:TextID={{{Text ID|}}}}}
 +
{{#set:TibetanTitle={{{Tibetan Title|}}}}}
 +
{{#set:WylieTitle={{{Wylie Title|}}}}}
 +
{{#arraymap:{{{Other titles|}}}|,|x|{{#set:Othertitles=x}}}}
 
{{#arraymap:{{{Subject|}}}|,|x|{{#set:Subject=x}}}}  
 
{{#arraymap:{{{Subject|}}}|,|x|{{#set:Subject=x}}}}  
 +
{{#arraymap:{{{Author|}}}|,|x|{{#set:Author=x}}}}
 +
{{#arraymap:{{{Associated Person|}}}|,|x|{{#set:AssociatedPerson=x}}}}
 +
{{#arraymap:{{{BDRC link|}}}|,|x|{{#set:BDRCLink=x}}}}
 +
{{#arraymap:{{{Classification|}}}|,|x|{{#set:Classification=x}}}}
 +
{{#set:Notes={{{Notes|}}}}}
 
<div class="text_left_column">
 
<div class="text_left_column">
 
{| class="text_properties"
 
{| class="text_properties"
 
! Resource ID  
 
! Resource ID  
| [[TextID::{{{Text ID|}}}]]
+
| {{{Text ID|}}}
 
|-
 
|-
 
! Title
 
! Title
| [[WylieTitle::{{{Wylie Title|}}}]]
+
| {{{Wylie Title|}}}
 
|-
 
|-
 
! Alt. title
 
! Alt. title
| {{#arraymap:{{{OtherTitles|}}}|,|x|[[OtherTitles::x]]}}
+
| {{#arraymap:{{{OtherTitles|}}}|,|x|[[x]]}}
 
|-
 
|-
 
! Topics
 
! Topics
Line 34: Line 43:
 
|-
 
|-
 
! Author
 
! Author
| {{#arraymap:{{{Author|}}}|,|x|[[Author::x]]}}
+
| {{#arraymap:{{{Author|}}}|,|x|[[x]]}}
 
|-
 
|-
 
! Associated Person
 
! Associated Person
| {{#arraymap:{{{Associated Person|}}}|,|x|[[AssociatedPerson::x]]}}
+
| {{#arraymap:{{{Associated Person|}}}|,|x|[[x]]}}
 
|-
 
|-
 
! Link
 
! Link
Line 43: Line 52:
 
|-
 
|-
 
! Classification
 
! Classification
| {{#arraymap:{{{Classification|}}}|,|x|[[Classification::x]]}}
+
| {{#arraymap:{{{Classification|}}}|,|x|[[x]]}}
 
|-
 
|-
 
! Notes
 
! Notes
| [[Notes::{{{Notes|}}}]]
+
| {{{Notes|}}}
 
|}
 
|}
 
</div>
 
</div>

Revision as of 13:22, 4 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=
|Author=
|Associated Person=
|BDRC link=
|Classification=
|Notes=
}}

Edit the page to see the template text.