Difference between revisions of "Template:Verse"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 13: Line 13:
 
<div class="d-flex align-items-end justify-content-between mb-2">
 
<div class="d-flex align-items-end justify-content-between mb-2">
 
<div class="d-inline-block h3 mb-0">[[Texts/Ratnagotravibhāgavyākhyā/Tibetan|RGVV Commentary]] on Verse {{{ VerseNumber | }}}</div>
 
<div class="d-inline-block h3 mb-0">[[Texts/Ratnagotravibhāgavyākhyā/Tibetan|RGVV Commentary]] on Verse {{{ VerseNumber | }}}</div>
<div class="d-inline-block text-right" style="font-size: .8em;"><span class="verse-language-trigger tibetanTriggerComment">[[File:Om.png|x25px|class=align-baseline om-img|link=|]]</span>{{!}} <span class="verse-language-trigger englishTriggerComment"><i class="far fa-font"></i></span> {{!}} <span class="verse-language-trigger sanskritTriggerComment"><i class="far fa-om"></i></span> {{!}} <span class="verse-language-trigger chineseTriggerComment align-middle">[[File:Kanji tamashii soul.png|x18px|class=align-baseline|link=|]]</span> &nbsp;&nbsp;&nbsp; [[{{{1}}}|Go to verse page <i class="far fa-angle-right fa-sm align-middle"></i>]]</div>
+
<div class="d-inline-block text-right" style="font-size: .8em;"><span class="verse-language-trigger tibetanTriggerComment">[[File:Om.png|x25px|class=align-baseline om-img|link=|]]</span>{{!}} <span class="verse-language-trigger englishTriggerComment"><i class="far fa-font"></i></span> {{!}} <span class="verse-language-trigger sanskritTriggerComment"><i class="far fa-om"></i></span> {{!}} <span class="verse-language-trigger chineseTriggerComment align-middle">[[File:Kanji tamashii soul.png|x18px|class=align-baseline|link=|]]</span>
 +
</div>
 +
</div>
 +
<div class="tibetan-commentary commentary-variation" style="display: block;">
 +
{{#ask: [[verse::{{{2}}}]][[language::Tibetan]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
|default=''No Tibetan commentary defined.''
 +
}}
 +
</div>
 +
<div class="english-commentary commentary-variation" style="display: none;">
 +
{{#ask: [[verse::{{{2}}}]][[language::English]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
|default=''No English commentary defined.''
 +
}}
 +
</div>
 +
<div class="sanskrit-commentary commentary-variation" style="display: none;">
 +
{{#ask: [[verse::{{{2}}}]][[language::Sanskrit]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
|default=''No Sanskrit commentary defined.''
 +
}}
 +
</div>
 +
<div class="chinese-commentary commentary-variation" style="display: none;">
 +
{{#ask: [[verse::{{{2}}}]][[language::Chinese]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
|default=''No Chinese commentary defined.''
 +
}}
 
</div>
 
</div>
{{#ask: [[verse::{{{ VerseNumber | }}}]]
 
|?drel
 
|format=template
 
|template=ShowDrelSection
 
}}
 
 
</div>
 
</div>
 
</div> | }}
 
</div> | }}

Revision as of 00:34, 17 May 2019