Template:ListChapters: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{ 1 | }}}|{{{ 3 | }}}{{SmwTooltip|
<includeonly>{{#if:{{{ query | }}}|
|title=Go to chapter:
<div class="text-110 text-center font-weight-bold mt-2 mb-3">Chapters</div>
|show=<span class="font-weight-bold" style="text-decoration-line: underline; text-decoration-style: dashed;">{{#if:{{{ 2 | }}}
<div>{{#arraymap:{{{ query | }}}
|{{{ 2 | }}}
|;
|{{SUBPAGENAME}}
|@@@
}}</span>
|<div class="d-inline-block border green-text px-2 py-1 rounded-xl offwhite-bg m-1">'''[[{{#ifexist:{{BASEPAGENAME}}/@@@
|content={{#arraymap:{{{ 1 | }}}
|{{BASEPAGENAME}}/@@@
|;
|{{#ask:[[Category:Bilingual Chapters]][[TransMemID::{{{ tmid | }}}]][[TranslationChapter::@@@]]|headers=hide|link=none|limit=1|searchlabel=}}
|@@@
}}|@@@]]'''</div>
|<div class="d-inline-block border green-text px-2 py-1 rounded-xl offwhite-bg m-1">'''[[{{BASEPAGENAME}}/@@@|@@@]]'''</div>
|
|
}}</div>|}}</includeonly>
}}
}} | }}</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 18:54, 6 March 2026