Template:QuoteFolio

From Bodhicitta

One quoted text a translation-memory segment cites, with the folio where the passage is found and links to it. Placed on the segment page after the Template:TranslationMemory call, one per quoted text; edit it through Form:Segment. (Kept outside TranslationMemory on purpose: adding a parameter there would re-render all ~29,000 segment pages.)

Parameter Holds
text Page of the quoted text, e.g. Texts/Ratnameghasūtra
toh Tohoku number without the D: 127, 44-31
volume Derge volume: 55
folio Derge folio: 128a, or a range 175a–176a
link84000 84000 folio link. Preferred for readers.
linkAdarshah Adarshah link to the Derge folio. Shown when there is no 84000 link.
notInDerge Yes only when the text is confirmed absent from the Derge Kangyur. Without a link and without this, readers see the location as plain text, never "not in the Derge Kangyur".
checked Yes once a curator has confirmed the match. Only checked folios are shown to readers.


Stores a subobject (QuoteFolioText, QuoteFolioToh, QuoteFolioVolume, QuoteFolioFolio, QuoteFolio84000, QuoteFolioAdarshah, QuoteFolioChecked) and, for checked folios, QuoteFolioDisplay on the segment as source@@toh@@folio@@url, which Module:FormatSegmentRow turns into the link under the translation. Folio lists are stored with commas, because the chapter query joins several values with ;.