Difference between revisions of "Template:Text"

From Shangpa Resource Center
Line 43: Line 43:
 
{{#if: {{{Subject|}}} |  
 
{{#if: {{{Subject|}}} |  
 
! Topics
 
! Topics
{{!}} {{#arraymap:{{{Subject|}}}|,|x|[[:Topic:x|x]]}}|}}
+
{{!}} {{#arraymap:{{{Subject|}}}|,|x|[[:Topic:x|x]]}}
 +
{{!}}-|}}
 
{{#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
+
{{!}}-|}}
{{!}} {{#arraymap:{{{Associated Person|}}}|,|x|[[x]]}}|}}
+
{{#if: {{{Associated Person|}}} |  
{{#if: {{{BDRC link|}}}| ! Link
+
! Associated Person
{{!}} {{{BDRC link|}}}|}}
+
{{!}} {{#arraymap:{{{Associated Person|}}}|,|x|[[x]]}}
{{#if: {{{Classification|}}} | ! Classification
+
{{!}}-|}}
{{!}} {{#arraymap:{{{Classification|}}}|,|x|[[x]]}}|}}
+
{{#if: {{{BDRC link|}}}|  
{{#if: {{{Notes|}}}| ! Notes
+
! Link
{{!}} {{{Notes|}}} |}}  
+
{{!}} {{{BDRC link|}}}
 +
{{!}}-|}}
 +
{{#if: {{{Classification|}}} |
 +
! Classification
 +
{{!}} {{#arraymap:{{{Classification|}}}|,|x|[[x]]}}
 +
{{!}}-|}}
 +
{{#if: {{{Notes|}}}| !
 +
Notes
 +
{{!}} {{{Notes|}}}
 +
{{!}}-|}}  
 
|}
 
|}
 
</div>
 
</div>

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