Template:Verse: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(18 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">
<div class="d-flex justify-content-between read-versions mb-5">
<div>{{#ask:[[MasterNumber::{{#expr:{{{ MasterNumber | }}}-1}}]]
<div>{{#ask:[[MasterNumber::{{#expr:{{{ MasterNumber | }}}-1}}]]
|limit=1
|limit=1
Line 8: Line 8:
|format=template
|format=template
|template=PreviousVerseLink
|template=PreviousVerseLink
|default=First Verse
}}</div>
}}</div>
<div>{{#ask:[[MasterNumber::{{#expr:{{{ MasterNumber | }}}+1}}]]
<div>{{#ask:[[MasterNumber::{{#expr:{{{ MasterNumber | }}}+1}}]]
Line 15: Line 16:
|format=template
|format=template
|template=NextVerseLink
|template=NextVerseLink
|default=Last Verse
}}</div>
}}</div>
</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 pt-3 pb-4 pr-5 pl-5">
<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 p-bl-fix">{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
{{#ask: [[verse::{{{ VerseNumber | }}}]][[language::French]]
|?drel
|?drel
|format=template
|format=template
Line 160: Line 180:
|format=template
|format=template
|template=ShowPlainProp
|template=ShowPlainProp
|import-annotation=true
}}
}}
|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 21:13, 17 December 2024