Template:CommentaryRow: Difference between revisions
((by SublimeText.Mediawiker)) |
(Commentary as a library row: links to its full text, shows its school) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{TopicBiblioRow | ||
|1={{#ifexist:{{{ 1 | }}}/Full text|{{{ 1 | }}}/Full text|{{{ 1 | }}}}} | |||
|Citation={{{ Citation | }}} | |||
|BcaAuthor={{{ BcaAuthor | }}} | |||
|Class={{{ Class | }}} | |||
|Title={{#if:{{{ Title | }}}|{{{ Title | }}}|{{SUBPAGENAME:{{{ 1 | }}}}}}} | |||
|FrontCoverImg={{{ FrontCoverImg | }}} | |||
|Pubdate={{{ Pubdate | }}} | |||
|TileDescription={{{ TileDescription | }}} | |||
|Description={{{ Description | }}} | |||
|FullTitleTib={{{ FullTitleTib | }}} | |||
|DescriptionTib={{{ DescriptionTib | }}} | |||
|SchoolTib={{{ SchoolTib | }}} | |||
}}</includeonly><noinclude>{{TemplateTag}} | |||
One commentary as a library row ([[Template:TopicBiblioRow]]), for the Commentaries | |||
section of the full-text pages ([[Template:FullTextSubpage]]). | |||
Two things differ from an ordinary row, both carried over from the old commentary tiles: | |||
* the row links to the commentary's own <code>/Full text</code> page when there is one, | |||
otherwise to the item page; | |||
* the commentary's school, in Tibetan (<code>SchoolTib</code>), is shown beside the class. | |||
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. | |||
</noinclude> | |||
</ | |||
Revision as of 12:20, 5 October 2026
One commentary as a library row (Template:TopicBiblioRow), for the Commentaries
section of the full-text pages (Template:FullTextSubpage).
Two things differ from an ordinary row, both carried over from the old commentary tiles:
- the row links to the commentary's own
/Full textpage when there is one,
otherwise to the item page;
- the commentary's school, in Tibetan (
SchoolTib), is shown beside the class.
Called from an #ask with format=template and
named args=yes, so the printout names must match the parameters here.