Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
       🚧 True to our name, we’re still a work in progress. 🚧
   
       You’re welcome to explore, but account registration is currently invite-only as we finalize the setup. 
       Join our forum or follow Mastodon for updates. 
       Full Wiki launch coming soon!
   
Revision as of 00:38, 3 April 2026 by Anthony (talk | contribs)

Page Template:ProjectBadges/styles.css has no content.

[[|Project]]

ProjectCard

Displays a visual project card used on hub pages. Shows a cover image, project name, status/license badges, creator, optional custom fields, tags, and a hover description overlay. Contributor count and last-edited date are populated by MediaWiki:Gadget-projects.js.

Styles are loaded from Template:ProjectCard/styles.css and Template:ProjectBadges/styles.css.

⚠️ This template is called automatically by Cargo via #cargo_query on hub pages. You should not need to call it manually. See Template:ProjectInfobox for how projects are submitted to the database.

Called by Cargo — example query

{{#cargo_query:
  tables   = Projects
| fields   = _pageName=pagename, name, categories, status, license, creator,
             description, image, tags, field1label, field1value,
             field2label, field2value, field3label, field3value, field4label, field4value
| where    = categories HOLDS 'Audio'
| order by = Projects._pageName
| limit    = 500
| format   = template
| template = ProjectCard
| named args = yes
| no results text = <div class="project-hub-empty">No projects yet.</div>
}}

Parameters (passed by Cargo via named args=yes)

pagename
Full page name (aliased from _pageName). Used for the card title link and gadget API calls.
name
Project display name.
status
Project status. Values: Active, Hiatus, Completed, Abandoned.
license
License name shown as a badge (e.g. CC-BY-SA 4.0).
creator
Creator or team name.
description
Short description shown in the hover overlay.
image
Cover image filename (e.g. MyProject.png).
tags
Space-separated tag string.
field1labelfield4label
Optional custom field labels.
field1valuefield4value
Optional custom field values.

Displays a visual project card. Normally called automatically by Cargo on hub pages — see Template:ProjectInfobox for submitting projects.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Page namepagename

Full wiki page name of the project. Used for the card title link.

Page namerequired
Project namename

Display name shown on the card.

Stringoptional
Statusstatus

Current project status. Affects badge colour.

Suggested values
Active Hiatus Completed Abandoned
Stringoptional
Licenselicense

License name shown as a badge (e.g. CC-BY-SA 4.0).

Stringoptional
Creatorcreator

Creator or team name.

Stringoptional
Descriptiondescription

Short description shown in the hover overlay. Keep to 1-2 sentences.

Contentoptional
Cover imageimage

Cover image filename without File: prefix (e.g. MyProject.png).

Fileoptional
Tagstags

Space-separated keywords used for hub filtering.

Stringoptional
Custom field 1 labelfield1label

no description

Stringoptional
Custom field 1 valuefield1value

no description

Stringoptional
Custom field 2 labelfield2label

no description

Stringoptional
Custom field 2 valuefield2value

no description

Stringoptional
Custom field 3 labelfield3label

no description

Stringoptional
Custom field 3 valuefield3value

no description

Stringoptional
Custom field 4 labelfield4label

no description

Stringoptional
Custom field 4 valuefield4value

no description

Stringoptional