Template:LibraryItem: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 384: Line 384:
Its own h2-weight rule rather than the sidebar's small-caps heading: this
Its own h2-weight rule rather than the sidebar's small-caps heading: this
introduces the main body content of the page, not a sidebar block.
introduces the main body content of the page, not a sidebar block.
-->{{#if: {{{ Editorial | }}}
 
|
Hidden by CSS when nothing follows it. The sections below come from
|<div class="work-rels-heading">Related Works</div>
Module:GetRels and from a deferred query, so whether there is anything to
}}{{#ifeq:{{SUBPAGENAME}}
head is not knowable at parse time — an Editorial page, for instance,
renders the area but no rows. tws.js drops the heading when it comes up
empty, once the deferred rows have landed.
--><div class="work-rels"><div class="work-rels-heading">Related Works</div>{{#ifeq:{{SUBPAGENAME}}
|Bodhicaryāvatāra
|Bodhicaryāvatāra
|<table id="RelationshipsContent" class="smwtable-clean th-top-right th-nowrap border w-100 mw-collapsible">
|<table id="RelationshipsContent" class="smwtable-clean th-top-right th-nowrap border w-100 mw-collapsible">
Line 425: Line 428:
|order=asc
|order=asc
}}{{#invoke:GetRels|main}}
}}{{#invoke:GetRels|main}}
}}
}}</div>





Revision as of 15:59, 25 August 2026