Template:LibraryItem: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| Line 108: | Line 108: | ||
|people={{{ PeopleTopics | }}} | |people={{{ PeopleTopics | }}} | ||
|drlTopics={{GetItemData|prop=DrlTopics}} | |drlTopics={{GetItemData|prop=DrlTopics}} | ||
}} | }} | }} | }}<!-- | ||
EXTERNAL RESOURCES AND rKTs DATA | |||
Both were tabs of their own. The sidebar has room now that the | |||
people rows are compact, and both belong beside the work rather | |||
than behind a tab: the links say where else the text lives, and | |||
the rKTs block is catalogue apparatus for scholars, collapsed so | |||
it costs nothing for everyone else. | |||
Each renders nothing when the work has no such data, so the | |||
dividers do not strand themselves above an empty section. | |||
-->{{#if:{{GetItemData|prop=ISTBLink}}{{GetItemData|prop=AdarshaLink}}{{GetItemData|prop=TlbLink}}{{GetItemData|prop=tbrclink}}{{GetItemData|prop=EightyFour}}{{GetItemData|prop=AcipLink}}{{GetItemData|prop=CbetaLink}}{{GetItemData|prop=SatLink}}{{GetItemData|prop=GretilLink}}{{GetItemData|prop=SARITLink}}{{GetItemData|prop=DsbcLink}}{{GetItemData|prop=TsadraEpubLink}}{{GetItemData|prop=LotsaHouseLink}}| | |||
<hr class="no-bg my-2 tsdwiki-border-t-redfade text-center"> | |||
{{SidebarLinks}} | }}{{#if:{{GetItemData|prop=RktsNumber}}| | |||
<hr class="no-bg my-2 tsdwiki-border-t-redfade text-center"> | |||
{{SidebarRkts}} | }} | |||
</div>{{#ifeq: {{{ Editorial | }}}|Yes| | </div>{{#ifeq: {{{ Editorial | }}}|Yes| | ||
<div class="mt-3">__TOC__</div>{{#widget:TocFix}}|}} | <div class="mt-3">__TOC__</div>{{#widget:TocFix}}|}} | ||
| Line 379: | Line 395: | ||
}}{{#invoke:GetRels|main}} | }}{{#invoke:GetRels|main}} | ||
}} | }} | ||
|-| Table of Contents = | |-| Table of Contents = | ||
<div class="formatted-toc offwhite-bg rounded tsdwiki-depth-0 mt-3 p-2 pr-3"> | <div class="formatted-toc offwhite-bg rounded tsdwiki-depth-0 mt-3 p-2 pr-3"> | ||