Template:Category/Project
Render template for Category:Project pages.
Called by the SemanticSchemas dispatcher when a page belongs to Category:Project. Renders a project-shaped masthead in place of the default property table.
Pairs with Template:Category/Project/footer:
Both the build sections (Specifications / Components / Releases)
and the cross-content lists (Guides, FAQs, Publications, SOPs)
live in Category/Project/footer rather than here.
Reason: the SemanticSchemas dispatcher invokes this template at
the TOP of every Project page via the page's
call, so anything rendered here ends
up above the page's free-form prose. The build data and indexed
cross-references read better below the prose (narrative first,
then data), so they moved to a footer template the page author
invokes at the END of the page:
Every Project page should end with that line.
Renders:
- Status badge — pill in the top-right corner, color-coded
per Has project status (Active / Maintained / In Development / Planned / Deprecated / Cancelled).
- Card image — Has card image (4:3), rendered as a
left-column hero at ~50% of the masthead width when set. The kicker/description/goal/chips/funding stack to the right of it; when no image is set the masthead is single-column.
- Kicker — Status · Start year · License (any subset present;
separators only between adjacent values).
- Description — Has description (required field) rendered as
an italic accent-bordered lead paragraph.
- Goal — Has goal, if set, rendered below the lead with a
small "Goal:" label.
- Action chips — Repository, Website, DOI; each only renders
when its source property is set so a project with no repo URL doesn't show a broken chip.
- Funding — small note line under the chips, if Has funding
is set.
- Cite this project as — boxed block listing each canonical
citation (Has citation publication, multi-valued). Each entry is rendered by Template:Category/Publication/cite.row via an inverse#askon<this>, so the bibliographic data comes from each Publication page itself (title, byline, journal, volume/issue/pages, year, DOI). Block only renders when at least one citation is set.
Properties read:
- Masthead:
Has project status,Has start date,
Has end date,Has license,Has description,Has goal,Has repository url,Has website,Has DOI,Has funding,Has parent project,Has card image,Has citation publication.
Parameters:
category— "Project" (informational)page— the page being rendered. Falls back to
Template:Category/Project.
Visual treatment lives in
Template:Category/Project/styles.css — change there to restyle
every Project, or override the underlying --labki-*
tokens in a wiki's MediaWiki:Common.css to retheme
just one wiki.