Template:ProjectInfoBox: Difference between revisions

From CoMakingSpace Wiki

(Created page with "{| class="wikitable" style="float:right; margin-left: 10px; border-style: solid; border-width: 5px; border-color: #00773D" !colspan="2"|<small style="float:right">Template:P...")
 
(note about Property:ProjectDate)
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
|-
|-
| Release Date:
| Release Date:
| {{{date|(planned) finishing date}}}  
| [[ProjectDate::{{{date|(planned) finishing date}}}]]
|-
|-
| Initiator:
| Initiator:
Line 20: Line 20:
|}}
|}}
|-
|-
| Materials Used:
{{#if: {{{materials|}}} |
| {{#if: {{{materials|}}} | {{{materials}}} |add some links!}}
{{!}}-
{{!}} Materials Used:
{{!}} {{{materials}}}
|}}
|-
{{#if: {{{tools|}}} |  
{{!}}-
{{!}} Tools Used:
{{!}} {{{tools}}}
|}}
|-
|-
| Tools Used:
| {{#if: {{{tools|}}} | {{{tools}}} |add some links!}}
{{#if: {{{software|}}} |  
{{#if: {{{software|}}} |  
{{!}}-
{{!}}-
Line 39: Line 46:


<noinclude>
<noinclude>
Inform others about your [[Projects|project]] in a single glance!
Inform others about your [[Projects|project]] in a compact overview!


== Documentation ==
== Documentation ==
Line 59: Line 66:
Default values for some parameters exist, but will only be used if the entire line is omitted. For example, <code>|image=</code> 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.
Default values for some parameters exist, but will only be used if the entire line is omitted. For example, <code>|image=</code> 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 have/want helpers with your project, you can use the <code>team</code> value to give them credit. If you delete it or leave it empty, that field is not displayed at all. The <code>software</code> value behaves this way as well as nearly all projects (thus far) are realized with tools and materials but not all are prepared on a [[Computers|computer]].
If you had/have helpers with your project, you can use the <code>team</code> 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 <code>software</code>, <code>materials</code> and <code>tools</code> 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 ==
== Bugs/Future Development ==
* tools and materials could be made optional as well, but only if there is a way to display the default text for empty parameters and nothing for deleted ones - would be a pity to lose that reminder of linking other pages!
* selection instead of free text: status= planned/in progress/finished?
* selection instead of free text: status= planned/in progress/finished
</noinclude>
</noinclude>

Revision as of 20:28, 15 April 2020

ProjectInfoBox

Unnamed Project

Project-default.png
Status: planned
Release Date: (planned) finishing date
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?