Difference between revisions of "Template:Text"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 11: Line 11:
 
}} | }}
 
}} | }}
 
{{TopSysopLinks|research|Text}}<!--{{TopLevelModule|{{#external_value:BuNayGrade}}}}-->
 
{{TopSysopLinks|research|Text}}<!--{{TopLevelModule|{{#external_value:BuNayGrade}}}}-->
<div class="h2 position-relative mb-2">
+
{{TitleSection
<div class="p-0">{{#switch: {{#external_value:subclass}}
+
|subclass={{#external_value:subclass}}
|Tibetan Original Work=<noglossary>
+
|devanagari={{#external_value:fulltitledev}}
<div class="text-110">{{#external_value:fulltitletib}}</div>
+
|sanskrit={{#external_value:fulltitleskt}}
<div class="text-80">{{#external_value:fulltitle}}</div>{{#if: {{#external_value:fulltitleskt}} |
+
|SktReconstructed={{#external_value:SktReconstructed}}
<div class="text-80"><span {{#ifeq: {{#external_value:SktReconstructed}} | true | data-triggler="hover" data-toggle="popover" data-placement="top" data-content="* Sankrit title reconstructed from Tibetan." | }}>{{#ifeq: {{#external_value:SktReconstructed}} | true | &#42; | }}{{#external_value:fulltitleskt}}</span></div> | }}{{#if: {{#external_value:fulltitlechn}} |
+
|tibetan={{#external_value:fulltitletib}}
<div class="mt-3 mb-1 text-60">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
+
|wylie={{#external_value:fulltitle}}
<div class="my-2 text-80">{{#external_value:fulltitlepinyin}}</div> | }}</noglossary>
+
|chinese={{#external_value:fulltitlechn}}
|Sanskrit Original Work=<noglossary>
+
|pinyin={{#external_value:fulltitlepinyin}}
<div class="text-110">{{#external_value:fulltitledev}}</div>
+
|english={{#external_value:fulltitletrans}}
<div style="font-size: 1.1em;"><span {{#ifeq: {{#external_value:SktReconstructed}} | true | data-triggler="hover" data-toggle="popover" data-placement="top" data-content="* Sankrit title reconstructed from Tibetan." | }}>{{#ifeq: {{#external_value:SktReconstructed}} | true | &#42; | }}{{#external_value:fulltitleskt}}</span></div>{{#if: {{#external_value:fulltitletib}} |
+
|SpecialTitles={{#external_value:SpecialDisplayTitles}}
<div class="mt-3 mb-2 text-80">{{#external_value:fulltitletib}}</div>
+
}}
<div class="text-80">{{#external_value:fulltitle}}</div> | }}{{#if: {{#external_value:fulltitlechn}} |
+
{{#if: {{#external_value:roottextskt}} |  
<div class="mt-3 mb-1 text-60">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
 
<div class="my-2 text-80">{{#external_value:fulltitlepinyin}}</div> | }}</noglossary>
 
|Chinese Original Work=<noglossary>
 
<div class="text-110">{{#external_value:fulltitlechn}}</div>{{#if: {{#external_value:fulltitlepinyin}} |
 
<div class="my-2 text-80">{{#external_value:fulltitlepinyin}}</div> | }}{{#if: {{#external_value:fulltitletib}} |
 
<div class="mt-3 mb-2 text-80">{{#external_value:fulltitletib}}</div>
 
<div class="text-80">{{#external_value:fulltitle}}</div> | }}{{#if: {{#external_value:fulltitleskt}} |
 
<div class="text-80">{{#ifeq: {{#external_value:SktReconstructed}} | true | &#42; | }}{{#external_value:fulltitleskt}}</div> | }}</noglossary>
 
|Pali Original Work=<noglossary>
 
<div class="text-110">{{#external_value:fulltitle}}</div>{{#if: {{#external_value:fulltitleskt}} |
 
<div class="text-80"><span {{#ifeq: {{#external_value:SktReconstructed}} | true | data-triggler="hover" data-toggle="popover" data-placement="top" data-content="* Sankrit title reconstructed from Tibetan." | }}>{{#ifeq: {{#external_value:SktReconstructed}} | true | &#42; | }}{{#external_value:fulltitleskt}}</span></div> | }}{{#if: {{#external_value:fulltitletib}} |
 
<div class="mt-3 mb-2 text-80">{{#external_value:fulltitletib}}</div>
 
<div class="text-80">{{#external_value:fulltitle}}</div> | }}{{#if: {{#external_value:fulltitlechn}} |
 
<div class="mt-3 mb-1 text-60">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
 
<div class="my-2 text-80">{{#external_value:fulltitlepinyin}}</div> | }}</noglossary>
 
|Japanese Original Work=<noglossary>
 
<div class="text-110">{{#external_value:fulltitle}}</div>{{#if: {{#external_value:fulltitleskt}} |
 
<div class="text-80"><span {{#ifeq: {{#external_value:SktReconstructed}} | true | data-triggler="hover" data-toggle="popover" data-placement="top" data-content="* Sankrit title reconstructed from Tibetan." | }}>{{#ifeq: {{#external_value:SktReconstructed}} | true | &#42; | }}{{#external_value:fulltitleskt}}</span></div> | }}{{#if: {{#external_value:fulltitletib}} |
 
<div class="mt-3 mb-2 text-80">{{#external_value:fulltitletib}}</div>
 
<div class="text-80">{{#external_value:fulltitle}}</div> | }}{{#if: {{#external_value:fulltitlechn}} |
 
<div class="mt-3 mb-1 text-60">{{#external_value:fulltitlechn}}</div> | }}{{#if: {{#external_value:fulltitlepinyin}} |
 
<div class="my-2 text-80">{{#external_value:fulltitlepinyin}}</div> | }}</noglossary>
 
}}{{#if: {{#external_value:SpecialDisplayTitles}}
 
|<noglossary>{{#arraymap:{{#external_value:SpecialDisplayTitles}}
 
|;
 
|@@@
 
|<div class="my-2 text-80">@@@</div>
 
|
 
}}</noglossary>
 
|
 
}}
 
<div class="mt-3"><noglossary>{{#external_value:fulltitletrans}}</noglossary></div>
 
</div>
 
</div>{{#if: {{#external_value:roottextskt}} |  
 
 
<div class="float-left font-italic font-muted text-80"><noglossary>Commentary of [[{{#external_value:roottextskt}}]]</noglossary></div> |  }}
 
<div class="float-left font-italic font-muted text-80"><noglossary>Commentary of [[{{#external_value:roottextskt}}]]</noglossary></div> |  }}
 
<div class="d-flex justify-content-end align-items-end">
 
<div class="d-flex justify-content-end align-items-end">

Revision as of 15:24, 8 September 2020