Template:TopicPage: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 80: Line 80:
<!--
<!--
SMALL TOPIC — one flat list, sorted so classes still cluster together.
SMALL TOPIC — one flat list, sorted so classes still cluster together.
Editorial Content is pulled out ahead of it rather than left to the sort.
SMW sorts Class alphabetically, which would bury our own writing between
Dissertations and Multimedia; it belongs first on a topic page. Both parts
render headless, so they still read as a single list.
--> |<div class="filterableContent">{{TopicBiblioSection
--> |<div class="filterableContent">{{TopicBiblioSection
|query=[[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]
|query=[[Class::Editorial Content]][[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]
|sort=Citation
|order=asc
}}{{TopicBiblioSection
|query=[[Class::!Editorial Content]][[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]
}}</div>
}}</div>
}}
}}

Revision as of 19:08, 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.