Template:Category/Publication/cite.row

From Miniscope
Jump to: navigation, search

Single-citation row for the "Cite this project as" masthead block on Template:Category/Project. Receives named args from a format=template #ask that queries Publication pages via the inverse <project> back-reference and projects each Publication's bibliographic fields.

Args:

  • Page — full title of the Publication page (e.g.
 Publication/zhao_2025_minixl). Used as the link
 target for the title and as the page= arg to
 Template:Category/Publication/byline.
  • Title — Has title
  • Year — Has publication year
  • Journal — Has journal
  • Volume / Issue / Pages
 Has volume / Has issue / Has pages
  • DOI — Has DOI

Renders one line in a Nature-ish style consistent with how Template:Category/Publication formats its own citation line:

{Byline}. Title. Journal volume(issue):pages (year). doi:DOI

Each piece is conditional on its source property being set, so a publication with sparse metadata still renders a clean line.

The byline is delegated to Template:Category/Publication/byline so author formatting matches the Publication page itself; passing page re-invokes the byline #ask in the Publication's context.