Difference between revisions of "Template:Verse"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(140 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="h1">{{ROOTPAGENAME}} {{SUBPAGENAME}}</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><!--
 +
 +
<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>
 +
 +
{{{ 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">
 +
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
}}
 +
 +
<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="col-lg-3 p-3 no-wrap text-80 mt-0 mb-2 border-right">
 +
<div class="text-right">
 +
<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 <i class="fad fa-caret-right"></i></span><br>
 +
<span class="a verse-language-trigger sanskritTriggerComment">Sanskrit <i class="fad fa-caret-right"></i></span><br>
 +
<span class="a verse-language-trigger chineseTriggerComment">Chinese <i class="fad fa-caret-right"></i></span>
 +
</div>
 +
<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
 +
|format=template
 +
|template=ShowPlainProp
 +
|default=''No Tibetan commentary defined.''
 +
}}
 +
</div>
 +
<div class="english-commentary commentary-variation" style="display: none;">
 +
{{{ EnglishCommentary |''No English commentary defined.''}}}
 +
</div>
 +
<div class="sanskrit-commentary commentary-variation" style="display: none;">
 +
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::Sanskrit Romanized]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
|default=''No Sanskrit commentary defined.''
 +
}}
 +
</div>
 +
<div class="chinese-commentary commentary-variation" style="display: none;">
 +
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::Chinese]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
|default=''No Chinese commentary defined.''
 +
}}
 +
</div>
 +
</div>
 +
</div> | }}
  
<div class="multiverse-table depth-3 table-responsive">
 
<table style="margin: 0; width: 100%;">
 
<tr style="height: 150px;">
 
<td></td>
 
<td class="verse-original p-5">{{{ OriginalVerse | }}}</td>
 
<td class="verse-original p-5">{{{ OriginalPhonetics | }}}
 
<div class="source-source">{{{ OriginalSource | }}}</div>
 
</td>
 
<td></td>
 
</tr>
 
<tr class="trigger-row border-top">
 
<th class="verse-source-trigger">Tibetan</th>
 
<td rowspan="2" class="p-5" style="width: 40%">
 
<div class="verse-content">
 
<div class="verse-source" style="display: block;">{{{ Tibetan | }}}
 
<div class="source-source">{{{ TibetanSource | }}}</div>
 
</div>
 
<div class="verse-source">{{{ Chinese | }}}
 
<div class="source-source">{{{ ChineseSource | }}}</div>
 
</div>
 
</div>
 
</td>
 
<td rowspan="2" class="p-5" style="width: 60%">
 
<div class="verse-content pr-5">
 
<div class="verse-english" style="display: block;">{{{ FeaturedEnglish | }}}
 
<div class="english-source">{{{ FeaturedEnglishSource | }}}</div>
 
</div>
 
<div class="verse-english">The Buddha's Body penetrates everywhere,<br>Reality is of undifferentiated nature,<br>And the Germ [of the Buddha] exists (in the living beings).<br>Therefore, all living beings are<br>Always possessed of the Matrix of the Buddha.
 
<div class="english-source">[[A Study on the Ratnagotravibhāga (Uttaratantra): Being a Treatise on the Tathāgatagarbha Theory of Mahāyāna Buddhism|Takasaki, p. 197]] <ref>Takasaki, Jikido. [[A Study on the Ratnagotravibhāga (Uttaratantra): Being a Treatise on the Tathāgatagarbha Theory of Mahāyāna Buddhism]]. Serie Orientale Roma 33. Roma: Istituto Italiano per il Medio ed Estremo Oriente (ISMEO), 1966.</ref></div>
 
</div>
 
</div>
 
</td>
 
<th class="verse-english-trigger trigger-source-1">Brunnhölzl</th>
 
</tr>
 
<tr class="trigger-row">
 
<th class="verse-source-trigger border-bottom-0">Chinese</th>
 
<th class="verse-english-trigger trigger-source-2 border-bottom-0">Takasaki</th>
 
</tr>
 
</table>
 
 
</div>
 
</div>
  
<div class="row mt-5">
+
<div class="row mt-5 sticky-container">
 
<div class="col-lg-9">
 
<div class="col-lg-9">
  
Line 57: Line 120:
  
 
{{{ Commentaries | }}}
 
{{{ Commentaries | }}}
 +
 +
== Academic notes ==
 +
 +
{{{ AcademicNotes | }}}
 +
 +
{{References}}
  
 
</div>
 
</div>
<div class="right-side-bar noprint col-lg-3 mt-0 pl-0 mb-2 order-first order-lg-last">
+
<div class="right-side-bar noprint col-lg-3 mt-0 pl-0 mb-2 order-first order-lg-last sticky-sidemenu" id="sticky-sidemenu">
<div id="sticky-sidemenu">
+
<div id="sticky-sidemenu-inner" class="sticky-sidemenu-inner p-0 bullet-toc">
<div id="sticky-sidemenu-inner" class="bullet-toc">
 
  
__TOC__
+
__TOC__
  
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
</div>
+
</div>{{#set:
 
+
OriginalLanguage={{{ OriginalLanguage | }}}
 
+
|VerseNumber={{{ VerseNumber | }}}
<div class="bnw-panel rounded depth-2" style="font-size: 1.2rem;">
+
|MasterNumber={{{ MasterNumber | }}}
<h2 class="bnw-heading-3">Notes</h2>
+
|ChapterNumber={{Ifcontains
<references/>
+
|{{{ VerseNumber | }}}
</div>
+
|IV.
 +
|IV
 +
|{{Ifcontains
 +
|{{{ VerseNumber | }}}
 +
|V.
 +
|V
 +
|{{Ifcontains
 +
|{{{ VerseNumber | }}}
 +
|III.
 +
|III
 +
|{{Ifcontains
 +
|{{{ VerseNumber | }}}
 +
|II.
 +
|II
 +
|{{Ifcontains
 +
|{{{ VerseNumber | }}}
 +
|I.
 +
|I
 +
|
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
|Sanskrit={{{ Sanskrit | }}}
 +
|SanskritSource={{{ SanskritSource | }}}
 +
|SanskritTrans={{{ SanskritTrans | }}}
 +
|SanskritTransSource={{{ SanskritTransSource | }}}
 +
|Tibetan={{{ Tibetan | }}}
 +
|TibetanSource={{{ TibetanSource | }}}
 +
|TibetanTrans={{{ TibetanTrans | }}}
 +
|TibetanTransSource={{{ TibetanTransSource | }}}
 +
|Chinese={{{ Chinese | }}}
 +
|ChineseSource={{{ ChineseSource | }}}
 +
|ChineseTrans={{{ ChineseTrans | }}}
 +
|ChineseTransSource={{{ ChineseTransSource | }}}
 +
|FrenchTrans={{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
 +
|?drel
 +
|format=template
 +
|template=ShowPlainProp
 +
}}
 +
|DegeLink={{{ DegeLink | }}}
 +
|NumberOfLines={{{ NumberOfLines | }}}
 +
|Has parent page={{BASEPAGENAME}}
 +
}}[[Category: Source Verses]][[Category: Verses from {{{ OriginalLanguage | }}} Original]]</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 11:14, 16 September 2020