Template:ProjectInfoBox: Difference between revisions
NitramLegov (talk | contribs) No edit summary |
NitramLegov (talk | contribs) m (Make Release date optional) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right; margin-left: 10px; border-style: solid; border-width: 5px; border-color: #00773D" | {| class="wikitable" style="float:right; margin-left: 10px; border-style: solid; border-width: 5px; border-color: #00773D" | ||
!colspan="2"|<small style="float:right">[[Template:ProjectInfoBox|ProjectInfoBox]]</small><br> | !colspan="2"|<small style="float:right">[[Template:ProjectInfoBox|ProjectInfoBox]]</small><br> | ||
<big>'''{{{project title|Unnamed Project}}}'''</big> | <big>'''[[Has caption::{{{project title|Unnamed Project}}}]]'''</big> | ||
|- | |- | ||
!colspan="2"| [[File:{{#if: {{{image|}}} | {{{image}}} |project-default.png}}|frameless|300px]] | !colspan="2"| [[{{#if: {{{extrabox|}}} |File: | Has image::File:}}{{#if: {{{image|}}} |{{{image}}} |project-default.png}}|frameless|300px]] | ||
|- | |- | ||
| Status: | | Status: | ||
| {{{status|planned}}} | | {{{status|planned}}} | ||
|- | |- | ||
| Release Date: | {{#if: {{{date|}}} | | ||
{{!}}- | |||
{{!}} Release Date: | |||
{{!}} [[ProjectDate::{{{date|(planned) finishing date}}}]] | |||
|}} | |||
|- | |- | ||
| Initiator: | | Initiator: | ||
Line 76: | Line 79: | ||
* selection instead of free text: status= planned/in progress/finished? | * selection instead of free text: status= planned/in progress/finished? | ||
== Template Parameters == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 88: | Line 92: | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "An image for your project", | "label": "An image for your project (example.jpg)", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"required": false, | "required": false, | ||
"description": "The | "description": "The file name of the image which represents your project the best. This might be printed on our [[Project Wall]]", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 106: | Line 110: | ||
"type": "date", | "type": "date", | ||
"required": false, | "required": false, | ||
"description": "The | "description": "The date on which your project has been finished. Will be assigned to Property:ProjectDate and thus be searchable within [[Semantic MediaWiki]]." | ||
}, | }, | ||
"initiator": { | "initiator": { | ||
Line 112: | Line 116: | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "The name of the person | "description": "The user page or name of the person who initiated the project.", | ||
"default": "who maintains it?", | "default": "who maintains it?", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"team": { | "team": { | ||
"label": "The | "label": "The team helping with your project.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
"materials": { | "materials": { | ||
"label": "Materials you have used.", | "label": "Materials you have used (wiki links, if possible).", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "A list of materials you have used in your project. Please provide them as wiki | "description": "A list of materials you have used in your project. Please provide them as wiki links ([[Material]])" | ||
}, | }, | ||
"tools": { | "tools": { | ||
"label": "Tools you have used.", | "label": "Tools you have used (wiki links, if possible).", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "A list of tools you have used in your project. Please provide them as wiki | "description": "A list of tools you have used in your project. Please provide them as wiki links ([[Tools]])" | ||
}, | }, | ||
"software": { | "software": { | ||
"label": "Software you have used.", | "label": "Software you have used (wiki links, if possible).", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "A list of softwareyou have used in your project. Please provide them as wiki | "description": "A list of softwareyou have used in your project. Please provide them as wiki links ([[Software]])" | ||
}, | }, | ||
"cost": { | "cost": { | ||
Line 143: | Line 147: | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "An estimate of the | "description": "An estimate of the cost to be expected if someone wants to recreate your project." | ||
} | } | ||
} | } |
Latest revision as of 21:02, 8 January 2023
ProjectInfoBox Unnamed Project | |
---|---|
Status: | planned |
Initiator: | who maintains it? |
Inform others about your project in a compact overview!
Documentation
To use this template, simply copy this code into your page and enter the relevant parameters:
{{ProjectInfoBox |project title= |image= |status= |date= |initiator= |team= |materials= |tools= |software= |cost= }}
Default values for some parameters exist, but will only be used if the entire line is omitted. For example, |image=
leads to no image being displayed while not entering the image parameter at all will lead to the default image (light bulb) being displayed. Please make use of the "Show preview" button and it should be clear.
If you had/have helpers with your project, you can use the team
value to give them credit. Try using Template:HelpNeeded here to find collaborators! If you delete it or leave it empty, that field is not displayed at all.
The software
, materials
and tools
value behaves this way as well since some projects are realized with tools and materials but others are done mostly digitally.
Semantic MediaWiki
The content you enter for "date" can be queried under Property:ProjectDate.
Bugs/Future Development
- selection instead of free text: status= planned/in progress/finished?
Template Parameters
Provide information about a project you have built.
Parameter | Description | Type | Status | |
---|---|---|---|---|
The name of your project | project title | The name of your project
| String | required |
An image for your project (example.jpg) | image | The file name of the image which represents your project the best. This might be printed on our [[Project Wall]] | File | suggested |
Status of your project | status | The current release status of your project
| String | suggested |
The release date of your project | date | The date on which your project has been finished. Will be assigned to Property:ProjectDate and thus be searchable within [[Semantic MediaWiki]]. | Date | optional |
Who initiated your project? | initiator | The user page or name of the person who initiated the project.
| String | suggested |
The team helping with your project. | team | no description | String | optional |
Materials you have used (wiki links, if possible). | materials | A list of materials you have used in your project. Please provide them as wiki links ([[Material]]) | String | optional |
Tools you have used (wiki links, if possible). | tools | A list of tools you have used in your project. Please provide them as wiki links ([[Tools]]) | String | optional |
Software you have used (wiki links, if possible). | software | A list of softwareyou have used in your project. Please provide them as wiki links ([[Software]]) | String | optional |
Costs of your project | cost | An estimate of the cost to be expected if someone wants to recreate your project. | String | optional |