Template:Category/Publication
Render template for Category:Publication pages.
Called by the SemanticSchemas dispatcher when a page belongs to
Category:Publication. Renders a publication-style masthead with the
title prominent, an author byline constructed from subobjects, a citation line in the
"Journal vol(issue):pages" form journals use, and DOI/PMID/URL
actions. Visual treatment lives in
Template:Category/Publication/styles.css (TemplateStyles) — change
there to restyle every publication page, or override the underlying
--labki-* tokens in a wiki's MediaWiki:Common.css to
retheme just one wiki.
The author byline is built by Template:Category/Publication/byline via a #ask that walks all Publication-author subobjects on the page, orders by Is first author then last name, and formats each as "F. M. Last" with the first author italicized.
Project link (the Miniscope tool family or equivalent umbrella for other wikis using this schema) is surfaced as a compact chip at the bottom of the masthead — maintained manually outside the citations-sync markers, so it only appears when a curator has set it.
The abstract is rendered in a styled box below the masthead; it's left expanded by default since it's the primary content of the page.
Properties (snake_case from dispatcher)
has_title— paper title (rendered as the main heading)has_publication_type/has_paper_type/
has_publication_year/has_publication_status— kicker row (format · intent · year · status)
has_description— short curator gloss (italic lead under title)has_abstract— full abstract (rendered in a box below)has_journal/has_volume/
has_issue/has_pages— citation line
has_doi/has_pubmed_id/has_website—
identifier actions
has_project— project chip at bottom of mastheadhas_keyword— surfaced as a tag strip
Experiments documented from this paper
Below the masthead the template runs a reverse lookup for Category:Experiment pages whose Has publication points at this page, and lists them via Template:Category/Publication/experiment.row. This is the join that makes the experiment registry publication-first: a reader who arrives at a paper sees the structured preparation extracted from its methods (animal, region, indicator, optical access, contact) without having to find the registry separately.
The section heading lives in
Template:Category/Publication/experiment.intro rather than inline,
because SMW invokes introtemplate/outrotemplate
only when the query matched at least one result. That keeps the block
completely absent — no empty heading — on the overwhelming majority of
publications with no registry entry, and costs nothing on wikis that
never deploy Category:Experiment, where the #ask simply matches nothing.