Template:TopicPage: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 52: Line 52:
topic get a pill, so a topic with no dissertations shows no dissertations
topic get a pill, so a topic with no dissertations shows no dissertations
filter.
filter.
--> <div class="topic-biblio-pills">
--> <div class="topic-biblio-pills"><!--
<span class="topic-biblio-pill is-active" data-filter-class="">All <span class="rel-count">{{#ask:[[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]|format=count}}</span></span>{{#arraymap:Books;Articles;Classical Works;Multimedia;Dissertations;Tibetan Publications;Editorial Content
No newline between this container and its pills. A blank-ish line here makes
MediaWiki wrap the whole run in a <p>, which becomes the only flex child and
leaves the pills laid out inline with their margins collapsed.
--><span class="topic-biblio-pill is-active" data-filter-class="">All <span class="rel-count">{{#ask:[[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]|format=count}}</span></span>{{#arraymap:Books;Articles;Classical Works;Multimedia;Dissertations;Tibetan Publications;Editorial Content
|;
|;
|@@@
|@@@

Revision as of 13:22, 24 August 2026


Topic pages present a bibliography, so entries are listed as citations rather than tiles. Citation is set on 99% of tagged items and already carries author, title, publisher and year in one formatted line.

There is no sidebar. Measured across the 1,108 topics in use, the median topic carries seven items and 96% carry fifteen or fewer, so the table-of-contents rail that used to sit here helped a reader scroll past a single screen — and on the 39% of topics with five items or fewer it listed headings for empty sections.

Parameters

Parameter Description
description Intro text, shown when the topic has no matching Key Terms entry.
groupThreshold Item count above which the list splits into per-class sections. Defaults to 25.