Template:CommentaryRow: Difference between revisions

From Bodhicitta
(Doc: also used on the Reading Room)
(Pass userparam through (title line))
 
Line 1: Line 1:
<includeonly>{{TopicBiblioRow
<includeonly>{{TopicBiblioRow
|1={{#ifexist:{{{ 1 | }}}/Full text|{{{ 1 | }}}/Full text|{{{ 1 | }}}}}
|1={{#ifexist:{{{ 1 | }}}/Full text|{{{ 1 | }}}/Full text|{{{ 1 | }}}}}
|#userparam={{{#userparam|}}}
|Citation={{{ Citation | }}}
|Citation={{{ Citation | }}}
|BcaAuthor={{{ BcaAuthor | }}}
|BcaAuthor={{{ BcaAuthor | }}}
Line 24: Line 25:
* the school, in Tibetan (<code>SchoolTib</code>), is shown beside the class, when the query
* 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).
   prints it (the full-text pages do; the Reading Room does not).
A <code>userparam=title</code> on the query (Module:LibraryRows <code>title=yes</code>) is passed
through, giving the title line above the citation.


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>

Latest revision as of 12:31, 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).

A userparam=title on the query (Module:LibraryRows title=yes) is passed through, giving the title line above the citation.

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