Template:Category/Publication

From Miniscope
Jump to: navigation, search

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 masthead
  • has_keyword — surfaced as a tag strip