Template:Verse: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(80 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 | }}}]]}} |
{{{ Variations | }}}{{#if: {{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]}} |
<div class="row m-0 verse-row">
<div class="col-lg-7 offset-lg-5 p-0">
<div class="py-3 px-lg-3 verse-trans p-bl-fix">{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
|?drel
|format=template
|template=ShowPlainProp
}}


<h3>Section from Commentary</h3>
<div class="verse-trans-source">[[Charrier, Christian]] and [[Patrick Carré]]. [[Traité de la Continuité suprême du Grand Véhicule]]. Plazac: Éditions Padmakara, 2019.</div>
</div>
</div>
</div> | }}{{#if: {{#ask: [[verse::{{{ VerseNumber | }}}]]}} |
 
<h3>[[Texts/Ratnagotravibhāgavyākhyā/Tibetan|RGVV Commentary]] on Verse {{{ VerseNumber | }}}</h3>


<div class="row m-0">
<div class="row m-0">
<div class="col py-3" style="line-height: 1.7;">
<div class="col-lg-3 p-3 no-wrap text-80 mt-0 mb-2 border-right">
<div class="d-flex align-items-end justify-content-between mb-2">
<div class="text-right">
<div class="d-inline-block h3 mb-0">[[Texts/Ratnagotravibhāgavyākhyā/Tibetan|RGVV Commentary]] on Verse {{{ VerseNumber | }}}</div>
<span class="a verse-language-trigger tibetanTriggerComment">Tibetan <i class="fad fa-caret-right"></i></span><br>
<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>
<span class="a verse-language-trigger englishTriggerComment">English <i class="fad fa-caret-right"></i></span><br>
</div>
<span class="a verse-language-trigger sanskritTriggerComment">Sanskrit <i class="fad fa-caret-right"></i></span><br>
</div>
<span class="a verse-language-trigger chineseTriggerComment">Chinese <i class="fad fa-caret-right"></i></span>
<div class="tibetan-commentary commentary-variation" style="display: block;">
</div>
{{#ask: [[verse::{{{2}}}]][[language::Tibetan]]
<hr class="my-3">
[[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 class="col-lg-9 p-3">
<div class="tibetan-commentary commentary-variation" style="display: block; line-height: 1.7;">
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::Tibetan]]
|?drel
|?drel
|format=template
|format=template
Line 25: Line 82:
</div>
</div>
<div class="english-commentary commentary-variation" style="display: none;">
<div class="english-commentary commentary-variation" style="display: none;">
{{#ask: [[verse::{{{2}}}]][[language::English]]
{{{ EnglishCommentary |''No English commentary defined.''}}}
|?drel
|format=template
|template=ShowPlainProp
|default=''No English commentary defined.''
}}
</div>
</div>
<div class="sanskrit-commentary commentary-variation" style="display: none;">
<div class="sanskrit-commentary commentary-variation" style="display: none;">
{{#ask: [[verse::{{{2}}}]][[language::Sanskrit]]
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::Sanskrit Romanized]]
|?drel
|?drel
|format=template
|format=template
Line 41: Line 93:
</div>
</div>
<div class="chinese-commentary commentary-variation" style="display: none;">
<div class="chinese-commentary commentary-variation" style="display: none;">
{{#ask: [[verse::{{{2}}}]][[language::Chinese]]
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::Chinese]]
|?drel
|?drel
|format=template
|format=template
Line 86: Line 138:
|VerseNumber={{{ VerseNumber | }}}
|VerseNumber={{{ VerseNumber | }}}
|MasterNumber={{{ MasterNumber | }}}
|MasterNumber={{{ MasterNumber | }}}
|ChapterNumber={{Ifcontains
|{{{ VerseNumber | }}}
|IV.
|IV
|{{Ifcontains
|{{{ VerseNumber | }}}
|V.
|V
|{{Ifcontains
|{{{ VerseNumber | }}}
|III.
|III
|{{Ifcontains
|{{{ VerseNumber | }}}
|II.
|II
|{{Ifcontains
|{{{ VerseNumber | }}}
|I.
|I
|
}}
}}
}}
}}
}}
|Sanskrit={{{ Sanskrit | }}}
|Sanskrit={{{ Sanskrit | }}}
|SanskritSource={{{ SanskritSource | }}}
|SanskritSource={{{ SanskritSource | }}}
Line 98: Line 176:
|ChineseTrans={{{ ChineseTrans | }}}
|ChineseTrans={{{ ChineseTrans | }}}
|ChineseTransSource={{{ ChineseTransSource | }}}
|ChineseTransSource={{{ ChineseTransSource | }}}
|FrenchTrans={{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
|?drel
|format=template
|template=ShowPlainProp
|import-annotation=true
}}
|DegeLink={{{ DegeLink | }}}
|DegeLink={{{ DegeLink | }}}
|NumberOfLines={{{ NumberOfLines | }}}
|NumberOfLines={{{ NumberOfLines | }}}
}}[[Category: Source Verses]][[Category: Verses from {{{ OriginalLanguage | }}} Original]]{{fbPill}}</includeonly><noinclude>{{TemplateTag}}</noinclude>
|Has parent page={{BASEPAGENAME}}
}}[[Category: Source Verses]][[Category: Verses from {{{ OriginalLanguage | }}} Original]]</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 21:13, 17 December 2024