Template:ListChapters: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{ | <includeonly>{{#if:{{{ query | }}}| | ||
<div class="text-110 text-center font-weight-bold mt-2 mb-3">Chapters</div> | <div class="text-110 text-center font-weight-bold mt-2 mb-3">Chapters</div> | ||
<div>{{#arraymap:{{{ | <div>{{#arraymap:{{{ query | }}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
|<div class="d-inline-block border green-text px-2 py-1 rounded-xl offwhite-bg m-1">'''[[{{#ifexist:{{BASEPAGENAME}}/@@@ | |<div class="d-inline-block border green-text px-2 py-1 rounded-xl offwhite-bg m-1">'''[[{{#ifexist:{{BASEPAGENAME}}/@@@ | ||
|{{BASEPAGENAME}}/@@@ | |{{BASEPAGENAME}}/@@@ | ||
|{{#ask:[[Category:Bilingual Chapters]][[TranslationChapter::@@@]]|headers=hide|link=none|limit=1|searchlabel=}} | |{{#ask:[[Category:Bilingual Chapters]][[TransMemID::{{{ tmid | }}}]][[TranslationChapter::@@@]]|headers=hide|link=none|limit=1|searchlabel=}} | ||
}}|@@@]]'''</div> | }}|@@@]]'''</div> | ||
| | | | ||
}}</div>|}}</includeonly> | }}</div>|}}</includeonly> | ||