Template:MaterialInfoBox: Difference between revisions

From CoMakingSpace Wiki

m (typo)
(changed (red) link to donation boxes)
Line 67: Line 67:
{{#if: {{{donation|}}} |
{{#if: {{{donation|}}} |
{{!}}-
{{!}}-
{{!}} Suggested [[Project:Donation Boxes|Donation]]:
{{!}} Suggested [[Donation Boxes|Donation]]:
{{!}} {{{donation|}}}
{{!}} {{{donation|}}}
|}}
|}}

Revision as of 17:04, 5 January 2018

MaterialInfoBox

Example: Nails

Alte Nägel.jpg
Synonyms: DE: Nägel,
Drahtstifte
On Site? yes
Suggested Donation: 3 ct
Location: wood workshop
Suggested Tools: hammers, pincers,
drift punch
Used with: wood, wood glue
Contains: usually galvanized iron
("wire nails") or steel
Similar (More or Less): screws, staples, rivets

We call everything that is consumed and incorporated into a project a "material" - this InfoBox is intended to provide a quick and easy overview over each material, similar to the MachineInfoBox and ToolInfoBox.

Documentation

To use this template, simply copy this code into your page and enter the relevant parameters:

{{MaterialInfoBox
|material name=
|image=
|synonyms=
|available=
|donation=
|location=
|tools=
|used with=
|contains=
|similar=
}}

For example, entering the following leads to the box on the right:

{{MaterialInfoBox
|material name=Example: Nails
|image=Alte Nägel.jpg
|synonyms=DE: Nägel,<br>Drahtstifte
|available=yes
|donation=3 ct
|location=[[Wood Workshop|wood workshop]]
|tools=[[hammers]], [[pincers]],<br>[[Punches#Drift Punch|drift punch]]
|used with=[[wood]], [[Wood Glue|wood glue]]
|contains=usually galvanized iron<br>("wire nails") or steel
|similar=[[screws]], [[staples]], [[rivets]]
}}

You can also leave a field empty and it will either disappear or be filled with a default value. Make frequent use of the "Show preview" button while editing and it should be clear.

Please also check whether your page matches one of the material categories and, if so, categorize it so it is found more easily!

MaterialInfoBox

Unnamed Material

Material-default.png
Synonyms: or in German?
Suggested Tools: