Template:DisplayTmSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 1: Line 1:
<includeonly>__NOTOC____NOEDITSECTION__
<includeonly>__NOTOC____NOEDITSECTION__
{{#ifeq:{{{ BaseJumbo | }}}|true|{{#ask:[[{{BASEPAGENAME}}]]
|?FrontCoverImg
|?Title
|?TileDescription
|?Description
|?BcaAuthor
|?Translator
|?Classification
|link=none
|format=template
|template=TmSectionHeader
|valuesep=;
}}|}}


{{RemoveFirstHeading
|AltTitle={{{ Text | }}} - <span class="text-80 font-italic">{{#if: {{{ DisplayChapterTitle | }}}
| {{{ DisplayChapterTitle | }}}
| Bilingual
}}</span>
}}
<div class="d-flex justify-content-between mb-5">
<div>[[{{{ Translation | }}}|<i class="fa-light fa-angle-left"></i> {{SUBPAGENAME:{{{ Translation | }}}}}]] &nbsp;|&nbsp; {{ListChapters
|{{#ask:[[Translation Memory:{{#show:{{BASEPAGENAME}}|?TransMemID}}]]
|?Sections=
|mainlabel=-
|link=none
|valuesep=;
}}
|{{{ DisplayChapterTitle | }}}
}}</div>
<div>{{SectionNavigation|{{#ask:[[Translation Memory:{{#show:{{BASEPAGENAME}}|?TransMemID}}]]|?Sections=|mainlabel=-|link=none|valuesep=;}}}}</div>
<div>[[The Śikṣāsamuccaya|About the Śikṣāsamuccaya]]</div>
</div>


<div class="row ssb-content">
<div class="row ssb-content">
Line 30: Line 37:
</div>
</div>
<div class="col-md-9">
<div class="col-md-9">
<div id="bilingual-commentary" class="filterableContent">{{#ask:[[TransMemID::{{{ TransMemID | }}}]][[SegmentFormat::!Deprecated]]
<div id="bilingual-commentary" class="filterableContent">
|?SegmentSource
{{#invoke:SscChapter|renderChunks|{{{ TranslationChapter | }}}}}
|?SourceTranslit
</div>
|?SegmentTranslation
|?SegmentFormat
|?SegmentOrder
|?SourceSabcheNumber
|?Flag
|?RootTextVerseNumPadmaK
|sort=SegmentOrder
|order=asc
|format=template
|template=DisplayTransMemRow
|userparam={{#invoke:String|sub|{{urlencode:{{{ TransMemID | }}}|WIKI}}|1|3}}
|link=none
|limit=1008
|@deferred
}}</div>
</div>
</div>
</div>{{#set:
</div>{{#set:

Revision as of 22:30, 3 March 2026