Template:ListChapters: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{ sections | }}}| | <includeonly>{{#if:{{{ sections | }}}|{{#arraydefine:arr|{{{ sections | }}}|;}}{{#ifeq:{{#arraysize:arr}}|1|| | ||
<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:{{{ sections | }}} | <div>{{#arraymap:{{{ sections | }}} | ||
| Line 15: | Line 15: | ||
}}'''</div> | }}'''</div> | ||
| | | | ||
}}</div>|}}</includeonly> | }}</div>}}|}}</includeonly> | ||