Template:Category/Publication/byline.row

From Miniscope
Jump to: navigation, search

Single-author row for the Publication byline. Receives positional params from a format=template #ask in Template:Category/Publication/byline:

  • {{{1}}} — Has last name
  • {{{2}}} — Has first name
  • {{{3}}} — Has middle name

Renders "F. M. Last" wrapped in <span class="publication-author">.

First-name and middle-name initials: take the first character and append ".". When middle is empty, omit it (no stray period).

Why no first-author emphasis

The byline used to italicize the first author — initially by projecting Is first author and matching == t, then by projecting Has sort order and matching == 1. Both approaches singled out one author, which misrepresents papers with co-first authors (the schema models authorship as an ordered list of subobjects with no co-first-author flag, so any single-author italics is misleading). Dropped entirely until the schema can express co-firsts.