Template:LibraryItem: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 370: Line 370:
Renders nothing when the work has no ToC, so nothing shows an empty band.
Renders nothing when the work has no ToC, so nothing shows an empty band.
-->{{#if: {{{ TableOfContents | }}}
-->{{#if: {{{ TableOfContents | }}}
|<div class="work-toc mw-collapsible mw-collapsed shadow" data-expandtext="Show table of contents" data-collapsetext="Hide table of contents">
|<div class="work-toc mw-collapsible mw-collapsed shadow-sm" data-expandtext="Show table of contents" data-collapsetext="Hide table of contents">
<div class="work-toc-heading">Table of contents</div>
<div class="work-toc-heading">Table of contents</div>
<div class="mw-collapsible-content"><div class="formatted-toc offwhite-bg rounded tsdwiki-depth-0 mt-3 p-2 pr-3">
<div class="mw-collapsible-content"><div class="formatted-toc offwhite-bg rounded tsdwiki-depth-0 mt-3 p-2 pr-3">

Revision as of 14:24, 25 August 2026