Template:CommentaryRow: Difference between revisions

From Bodhicitta
(Commentary as a library row: links to its full text, shows its school)
(Doc: also used on the Reading Room)
Line 14: Line 14:
}}</includeonly><noinclude>{{TemplateTag}}
}}</includeonly><noinclude>{{TemplateTag}}


One commentary as a library row ([[Template:TopicBiblioRow]]), for the Commentaries
A library row ([[Template:TopicBiblioRow]]) that leads to the work's full text. Used for the
section of the full-text pages ([[Template:FullTextSubpage]]).
Commentaries section of the full-text pages ([[Template:FullTextSubpage]]) and for the
Library of All Tibetan Texts on [[Reading Room]] (via [[Module:LibraryRows]], <code>template=CommentaryRow</code>).


Two things differ from an ordinary row, both carried over from the old commentary tiles:
Two things differ from an ordinary row, both carried over from the old commentary tiles:
Line 21: Line 22:
* the row links to the commentary's own <code>/Full text</code> page when there is one,
* the row links to the commentary's own <code>/Full text</code> page when there is one,
   otherwise to the item page;
   otherwise to the item page;
* the commentary's school, in Tibetan (<code>SchoolTib</code>), is shown beside the class.
* the school, in Tibetan (<code>SchoolTib</code>), is shown beside the class, when the query
  prints it (the full-text pages do; the Reading Room does not).


Called from an <code>#ask</code> with <code>format=template</code> and
Called from an <code>#ask</code> with <code>format=template</code> and
<code>named args=yes</code>, so the printout names must match the parameters here.
<code>named args=yes</code>, so the printout names must match the parameters here.
</noinclude>
</noinclude>

Revision as of 12:26, 5 October 2026


A library row (Template:TopicBiblioRow) that leads to the work's full text. Used for the Commentaries section of the full-text pages (Template:FullTextSubpage) and for the Library of All Tibetan Texts on Reading Room (via Module:LibraryRows, template=CommentaryRow).

Two things differ from an ordinary row, both carried over from the old commentary tiles:

  • the row links to the commentary's own /Full text page when there is one,
 otherwise to the item page;
  • the school, in Tibetan (SchoolTib), is shown beside the class, when the query
 prints it (the full-text pages do; the Reading Room does not).

Called from an #ask with format=template and named args=yes, so the printout names must match the parameters here.