Template:AudioEpisodeGroup: Difference between revisions
(VSCode edit) |
(VSCode edit) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifexpr:{{#ask:[[Category:Tsadra Bodhicitta Audio]][[AssociatedDoorway::{{{ doorway | }}}]]|format=count}}>0|<div class="audio-episode-group"><div class="h4 red-header mb-1">{{#ask:[[Category:Tsadra Bodhicitta Audio]][[AssociatedDoorway::{{{ doorway | }}}]]|format=count}} {{{ heading | }}}</div>{{#if: {{{ blurb | }}}|<div class="audio-episode-group-blurb">{{{ blurb | }}}</div>|}}<div class="audio-episode-list shadow">{{#ask:[[Category:Tsadra Bodhicitta Audio]][[AssociatedDoorway::{{{ doorway | }}}]] | <includeonly>{{#ifexpr:{{#ask:[[Category:Tsadra Bodhicitta Audio]][[AssociatedDoorway::{{{ doorway | }}}]]|format=count}}>0|<div class="audio-episode-group"><div class="h4 red-header mb-1">{{#ask:[[Category:Tsadra Bodhicitta Audio]][[AssociatedDoorway::{{{ doorway | }}}]]|format=count}} {{{ heading | }}}</div>{{#if: {{{ blurb | }}}|<div class="audio-episode-group-blurb">{{{ blurb | }}}</div>|}}<div class="audio-episode-list shadow-sm">{{#ask:[[Category:Tsadra Bodhicitta Audio]][[AssociatedDoorway::{{{ doorway | }}}]] | ||
|?AudioDisplayText | |?AudioDisplayText | ||
|?Creator | |?Creator | ||
Latest revision as of 14:16, 18 August 2026
Renders one doorway section of the Listening Room — a header carrying the
count, an optional blurb, and the list of episode rows.
The whole section renders nothing when the doorway has no recordings, so adding or removing a doorway needs no edit here.
Parameters
| Parameter | Description |
|---|---|
doorway |
Value of AssociatedDoorway to match. Required.
|
heading |
Section heading text, shown after the count. |
blurb |
Optional line under the heading. |
sort / order |
Passed to the query. Defaults to AssociatedArticle ascending. |