Template:LibraryItem: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| Line 290: | Line 290: | ||
The count is of QUOTATIONS, not segments. One quotation is often split over | The count is of QUOTATIONS, not segments. One quotation is often split over | ||
several consecutive segments — the Pitāputrasamāgamanasūtra has 62 quote | several consecutive segments — the Pitāputrasamāgamanasūtra has 62 quote | ||
segments but is quoted 14 times, and one of its runs is 36 segments long. | segments in the Śikṣāsamuccaya but is quoted 14 times, and one of its runs is | ||
36 segments long. See the module for how the runs are collapsed. | |||
Every aligned translation is searched, not just the Śikṣāsamuccaya: sixteen | |||
carry quote data, and 53 texts are cited by more than one — the | |||
Laṅkāvatārasūtra by six. The panel groups by citing work, root texts first. | |||
Collapsed by default: the list is a click away, and nobody pays for it | Collapsed by default: the list is a click away, and nobody pays for it | ||
| Line 297: | Line 301: | ||
-->{{#if: {{#invoke:SscCitations|count}} | -->{{#if: {{#invoke:SscCitations|count}} | ||
|<div class="ssc-citations-block mw-collapsible mw-collapsed" data-expandtext="Show the passages" data-collapsetext="Hide the passages"> | |<div class="ssc-citations-block mw-collapsible mw-collapsed" data-expandtext="Show the passages" data-collapsetext="Hide the passages"> | ||
<div class="ssc-citations-heading"><i class="fa-sharp-duotone fa-solid fa-quote-left fa-sm mr-2"></i> | <div class="ssc-citations-heading"><i class="fa-sharp-duotone fa-solid fa-quote-left fa-sm mr-2"></i>Quoted {{#invoke:SscCitations|count}} times in {{#invoke:SscCitations|works}} aligned {{#ifeq:{{#invoke:SscCitations|works}}|1|work|works}}</div> | ||
<div class="mw-collapsible-content">{{#invoke:SscCitations|list}}</div> | <div class="mw-collapsible-content">{{#invoke:SscCitations|list}}</div> | ||
</div> | </div> | ||