Template:QuoteFolio

From Bodhicitta
Revision as of 13:51, 13 October 2026 by Jeremi (talk | contribs) (New: quoted-text folio links for translation-memory segments (84000 / Adarshah))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
checked Yes once a curator has confirmed the match. Only checked folios are shown to readers.

A checked folio with neither link is shown as "not in Derge".

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:SegmentQuery turns into the link under the Tibetan.