Difference between revisions of "Template:Verse"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="h1"><noglossary>Ratnagotravibhāga Root {{SUBPAGENAME}}</noglossary></div>  
+
<includeonly><div class="h1 mb-0"><noglossary>Ratnagotravibhāga Root {{SUBPAGENAME}}</noglossary></div>  
  
 +
<div class="d-flex justify-content-between read-versions mb-5">
 +
<div>{{#ask:[[MasterNumber::{{#expr:{{{ MasterNumber | }}}-1}}]]
 +
|limit=1
 +
|link=none
 +
|searchlabel=
 +
|format=template
 +
|template=PreviousVerseLink
 +
|default=First Verse
 +
}}</div>
 +
<div>{{#ask:[[MasterNumber::{{#expr:{{{ MasterNumber | }}}+1}}]]
 +
|limit=1
 +
|link=none
 +
|searchlabel=
 +
|format=template
 +
|template=NextVerseLink
 +
|default=Last Verse
 +
}}</div>
 +
</div><!--
  
<div class="multiverse-table depth-3 pt-3 pb-4 pr-5 pl-5">
+
<h3>{{SUBPAGENAME}} Variations</h3>
 +
 
 +
<div class="row">
 +
<div class="col-lg-6">
 +
<div class="card depth-1 off-white">
 +
<div class="card-body">
 +
<h5 class="card-title">Sanskrit</h5>
 +
<h6 class="card-subtitle mb-2 text-muted text-70">Digital Sanskrit Buddhist Canon Unicode Input</h6>
 +
<p class="card-text">{{#ask: [[VerseNumber::{{{ VerseNumber | }}}]][[VariationLanguage::Sanskrit]]
 +
|?VariationOriginal
 +
|format=template
 +
|template=ShowPlainProp
 +
}}</p>
 +
<p class="muted text-80">[http://www.dsbcproject.org/canon-text/content/575/2687 Digital Sanskrit Buddhist Canon Unicode Input]</p>
 +
</div>
 +
</div>
 +
</div>
 +
</div>-->
 +
 
 +
<div class="multiverse-table depth-3 py-3 px-4 px-lg-5">
 
<h3>{{SUBPAGENAME}} Variations</h3>
 
<h3>{{SUBPAGENAME}} Variations</h3>
  
 
{{{ Variations | }}}{{#if: {{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]}} |
 
{{{ Variations | }}}{{#if: {{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]}} |
 
<div class="row m-0 verse-row">
 
<div class="row m-0 verse-row">
<div class="col-lg-7 offset-lg-5">
+
<div class="col-lg-7 offset-lg-5 p-0">
<div class="p-4 verse-trans">
+
<div class="py-3 px-lg-3 verse-trans">
 
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
 
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
 
|?drel
 
|?drel
Line 23: Line 60:
  
 
<div class="row m-0">
 
<div class="row m-0">
<div class="d-inline-block float-left no-wrap read-versions text-60 mt-0 mb-2">
+
<div class="col-lg-3 p-3 no-wrap text-80 mt-0 mb-2 border-right">
<span class="a verse-language-trigger tibetanTriggerComment">Tibetan</span><br>
+
<div class="text-right">
[[Texts/Ratnagotravibhāgavyākhyā/Tibetan|Full Tibetan Commentary]]<br>
+
<span class="a verse-language-trigger tibetanTriggerComment">Tibetan <i class="fad fa-caret-right"></i></span><br>
<span class="a verse-language-trigger englishTriggerComment">English</span><br>
+
<span class="a verse-language-trigger englishTriggerComment">English <i class="fad fa-caret-right"></i></span><br>
[[Texts/Ratnagotravibhāga_Mahāyānottaratantraśāstra/English|Full English Commentary]]<br>
+
<span class="a verse-language-trigger sanskritTriggerComment">Sanskrit <i class="fad fa-caret-right"></i></span><br>
<span class="a verse-language-trigger sanskritTriggerComment">Sanskrit</span><br>
+
<span class="a verse-language-trigger chineseTriggerComment">Chinese <i class="fad fa-caret-right"></i></span>
[[Texts/Ratnagotravibhāga_Mahāyānottaratantraśāstra/Sanskrit_Romanized|Full Sanskrit Commentary]]<br>
+
</div>
<span class="a verse-language-trigger chineseTriggerComment">Chinese</span><br>
+
<hr class="my-3">
[[Texts/Ratnagotravibhāga_Mahāyānottaratantraśāstra/Chinese|Full Chinese Commentary]]
+
[[Texts/Ratnagotravibhāgavyākhyā/Tibetan|Full Tibetan Commentary<i class="ml-1 fad fa-arrow-up fa-xs rotate45"></i>]]<br>
 +
[[Texts/Ratnagotravibhāga_Mahāyānottaratantraśāstra/English|Full English Commentary<i class="ml-1 fad fa-arrow-up fa-xs rotate45"></i>]]<br>
 +
[[Texts/Ratnagotravibhāga_Mahāyānottaratantraśāstra/Sanskrit_Romanized|Full Sanskrit Commentary<i class="ml-1 fad fa-arrow-up fa-xs rotate45"></i>]]<br>
 +
[[Texts/Ratnagotravibhāga_Mahāyānottaratantraśāstra/Chinese|Full Chinese Commentary<i class="ml-1 fad fa-arrow-up fa-xs rotate45"></i>]]
 
</div>
 
</div>
<div class="col-lg-8 px-3 pb-3">
+
<div class="col-lg-9 p-3">
 
<div class="tibetan-commentary commentary-variation" style="display: block; line-height: 1.7;">
 
<div class="tibetan-commentary commentary-variation" style="display: block; line-height: 1.7;">
 
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::Tibetan]]
 
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::Tibetan]]
Line 144: Line 184:
 
|DegeLink={{{ DegeLink | }}}
 
|DegeLink={{{ DegeLink | }}}
 
|NumberOfLines={{{ NumberOfLines | }}}
 
|NumberOfLines={{{ NumberOfLines | }}}
 +
|Has parent page={{BASEPAGENAME}}
 
}}[[Category: Source Verses]][[Category: Verses from {{{ OriginalLanguage | }}} Original]]</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
}}[[Category: Source Verses]][[Category: Verses from {{{ OriginalLanguage | }}} Original]]</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 11:14, 16 September 2020