Difference between revisions of "Template:Text"

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

Revision as of 19:00, 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.