Template:ProjectInfoBox: Difference between revisions

From CoMakingSpace Wiki

m (linked Template:HelpNeeded)
(made "materials" and "tools" optional)
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 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 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> value behaves this way as well since many projects 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.


== 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 17:00, 6 July 2018

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.

Bugs/Future Development

  • selection instead of free text: status= planned/in progress/finished?