Template:ProjectMeta: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
at the very top of every project page. | at the very top of every project page. | ||
Styles are loaded from [[Template:ProjectMeta/styles.css]]. | Styles are loaded from [[Template:ProjectMeta/styles.css]] and [[Template:ProjectBadges/styles.css]]. | ||
=== Usage === | === Usage === | ||
Revision as of 00:36, 3 April 2026
ProjectInfobox
Displays the project infobox on individual project pages and stores all project data into the Cargo database (Projects table) so it appears on the hub page. Place at the very top of every project page.
Styles are loaded from Template:ProjectMeta/styles.css and Template:ProjectBadges/styles.css.
Usage
{{ProjectInfobox
| name = My Project Name
| status = Active
| license = CC-BY-SA 4.0
| creator = YourUsername
| description = A short description shown on hub cards (1β2 sentences).
| image = MyProjectCover.png
| tags = audio, synthesis, ambient
| website = example.com
| repository = https://codeberg.org/example
| field1label = DAW
| field1value = Ableton Live
| field2label = Genre
| field2value = Ambient
}}
Parameters
name- Project display name shown in the infobox and on hub cards.
status- Current project status. Values:
Active,Hiatus,Completed,Abandoned. license- Open license (e.g.
CC-BY-SA 4.0,MIT,GPL-3.0). See Project:Licenses. creator- Your username or team name.
description- Short description shown on the hub card hover. Keep to 1β2 sentences.
image- Cover image filename without
File:prefix. Upload via Special:Upload first. tags- Comma-separated tags (e.g.
audio, ambient, synthesis). These appear on your card and are searchable on the hub. website- Optional project website domain (e.g.
example.com). repository- Optional source code repository URL.
field1labelβfield4label- Optional custom field labels.
field1valueβfield4value- Values for the corresponding custom fields.
Notes
- After saving, the project appears on the hub within seconds (Cargo job queue).
- To change the schema, go to Special:CargoTables, delete the Projects table,
re-save this template, then run the job queue.
Displays the project infobox and registers the project in the Cargo database. Place at the very top of every project page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Project name | name | Display name shown in the infobox and on hub cards. | String | required |
| Status | status | Current project status.
| String | optional |
| License | license | Open license for the project.
| String | optional |
| Creator | creator | no description | String | optional |
| Description | description | no description | Content | optional |
| Cover image | image | no description | File | optional |
| Tags | tags | Comma-separated tags for filtering (e.g. audio, ambient, synthesis). | String | optional |
| Website | website | no description | URL | optional |
| Repository | repository | no description | URL | optional |
| Custom field 1 label | field1label | no description | String | optional |
| Custom field 1 value | field1value | no description | String | optional |
| Custom field 2 label | field2label | no description | String | optional |
| Custom field 2 value | field2value | no description | String | optional |
| Custom field 3 label | field3label | no description | String | optional |
| Custom field 3 value | field3value | no description | String | optional |
| Custom field 4 label | field4label | no description | String | optional |
| Custom field 4 value | field4value | no description | String | optional |
This template defines the table "Projects". View table.