Template:TopicBiblioRow: Difference between revisions
(VSCode edit) |
(VSCode edit) |
||
| Line 49: | Line 49: | ||
writing carries no citation at all, which left those rows with no byline. | writing carries no citation at all, which left those rows with no byline. | ||
BcaAuthor | BcaAuthor arrives as a raw page title ("People/Houlton, S."), because the | ||
query runs with link=none and would otherwise flatten it to plain text. The | |||
link is built here instead, and MediaWiki applies the person's display title, | |||
so it reads "Simon Houlton". | |||
Deliberately NOT split with #arraymap: these page names contain commas | Deliberately NOT split with #arraymap: these page names contain commas, so | ||
splitting on comma turns one author into two red links. | |||
Present on about a quarter of Editorial pages, so the row still has to read | Present on about a quarter of Editorial pages, so the row still has to read | ||
| Line 62: | Line 62: | ||
| | | | ||
|{{#if: {{{ BcaAuthor | }}} | |{{#if: {{{ BcaAuthor | }}} | ||
|<div class="topic-biblio-byline">{{{ BcaAuthor | }}}</div> | |<div class="topic-biblio-byline">[[{{{ BcaAuthor | }}}]]</div> | ||
| | | | ||
}} | }} | ||
Revision as of 13:05, 25 August 2026
Renders one row of the bibliographic list on a topic page.
Called by Template:TopicBiblioSection with named args=yes, so the
printout names in that query must match the parameter names used here.