Difference between revisions of "Template:Text"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 139: Line 139:
 
{{TopSysopLinks|research|Text}}{{TopLevelModule|{{#external_value:BuNayGrade}}}}<noglossary>
 
{{TopSysopLinks|research|Text}}{{TopLevelModule|{{#external_value:BuNayGrade}}}}<noglossary>
 
<div class="h2 position-relative mb-2">
 
<div class="h2 position-relative mb-2">
<div class="p-0">
+
<div class="p-0">{{#switch: {{#external_value:subclass}}
<div class="bnw-text-source-title" {{#ifeq: {{#external_value:subclass}} | Tibetan Original Work | style="font-size: 1.1em;" | }}>{{#switch: {{#external_value:subclass}}
+
|Tibetan Original Work=
|Tibetan Original Work={{#external_value:fulltitletib}}
+
<div class="bnw-text-source-title" style="font-size: 1.1em;">{{#external_value:fulltitletib}}</div>{{#if: {{#external_value:fulltitletib}} |
|Sanskrit Original Work={{#external_value:fulltitledev}}
+
<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitletib}}</div> | }}{{#if: {{#external_value:fulltitleskt}} |  
|Chinese Original Work={{#external_value:fulltitlechn}}
+
<div style="font-size: 1.1em;">{{#external_value:fulltitleskt}}</div> | }}{{#if: {{#external_value:fulltitlechn}} |
|Pali Original Work={{#external_value:fulltitle}}
+
<div class="mt-3 mb-1" style="font-size: .6em;">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
|Japanese Original Work={{#external_value:fulltitle}}
+
<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitlepinyin}}</div> | }}
}}</div>{{#switch: {{#external_value:subclass}}  
+
|Sanskrit Original Work=
|Sanskrit Original Work
+
<div class="bnw-text-source-title" style="font-size: 1.1em;">{{#external_value:fulltitledev}}</div>
|Chinese Original Work=<div style="font-size: 1.1em;">{{#external_value:fulltitleskt}}</div>  
+
<div style="font-size: 1.1em;">{{#external_value:fulltitleskt}}</div>{{#if: {{#external_value:fulltitlechn}} |
|
+
<div class="mt-3 mb-1" style="font-size: .6em;">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
 +
<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitlepinyin}}</div> | }}
 +
|Chinese Original Work=
 +
<div class="bnw-text-source-title" style="font-size: 1.1em;">{{#external_value:fulltitlechn}}</div>{{#if: {{#external_value:fulltitlepinyin}} |
 +
<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitlepinyin}}</div> | }}{{#if: {{#external_value:fulltitleskt}} |  
 +
<div style="font-size: 1.1em;">{{#external_value:fulltitleskt}}</div> | }}
 +
|Pali Original Work=
 +
<div class="bnw-text-source-title" style="font-size: 1.1em;">{{#external_value:fulltitle}}</div>{{#if: {{#external_value:fulltitleskt}} |
 +
<div style="font-size: 1.1em;">{{#external_value:fulltitleskt}}</div> | }}{{#if: {{#external_value:fulltitlechn}} |
 +
<div class="mt-3 mb-1" style="font-size: .6em;">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
 +
<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitlepinyin}}</div> | }}
 +
|Japanese Original Work=
 +
<div class="bnw-text-source-title" style="font-size: 1.1em;">{{#external_value:fulltitle}}</div>{{#if: {{#external_value:fulltitleskt}} |
 +
<div style="font-size: 1.1em;">{{#external_value:fulltitleskt}}</div> | }}{{#if: {{#external_value:fulltitlechn}} |
 +
<div class="mt-3 mb-1" style="font-size: .6em;">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
 +
<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitlepinyin}}</div> | }}
 
}}{{#switch: {{#external_value:subclass}}
 
}}{{#switch: {{#external_value:subclass}}
 
|Tibetan Original Work=
 
|Tibetan Original Work=
|{{#if: {{#external_value:fulltitletib}}
+
|
|<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitletib}}</div>
+
}}{{#if: {{#external_value:SpecialDisplayTitles}}  
|
 
}}
 
}}{{#if: {{#external_value:fulltitlechn}} |
 
<div class="mt-3 mb-1" style="font-size: .6em;">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
 
<div class="mt-2 mb-2" style="font-size: .8em;">{{#external_value:fulltitlepinyin}}</div> | }}{{#if: {{#external_value:SpecialDisplayTitles}}  
 
 
|{{#arraymap:{{#external_value:SpecialDisplayTitles}}
 
|{{#arraymap:{{#external_value:SpecialDisplayTitles}}
 
|;
 
|;

Revision as of 11:51, 22 October 2019