Template:TopicPage: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
 
Line 45: Line 45:
<div class="col-12">{{#if:{{#ask:[[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]}}
<div class="col-12">{{#if:{{#ask:[[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]}}
|<div class="topic-biblio-controls">
|<div class="topic-biblio-controls">
<div class="row">
<div class="topic-biblio-filter">{{#widget:filterInput|placeholder=Filter {{#ask:[[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]|format=count}} entries...}}</div><!--
<div class="col-md-7 col-lg-5">{{#widget:filterInput|placeholder=Filter {{#ask:[[TermTopics::{{#titleparts:{{SUBPAGENAME}}}}||{{ucfirst:{{#titleparts:{{SUBPAGENAME}}}}}}]]|format=count}} entries...}}</div>
</div><!--
Class pills. Each is a plain filter link handled by tws.js, keyed on the
Class pills. Each is a plain filter link handled by tws.js, keyed on the
data-class attribute the rows carry. Only classes that actually occur on this
data-class attribute the rows carry. Only classes that actually occur on this

Latest revision as of 13:31, 25 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.