Template:MaterialInfoBox

From CoMakingSpace Wiki

Revision as of 22:27, 13 March 2022 by NitramLegov (talk | contribs) (Template Data)

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:

Template Parameters

Provide information about a material you have used or know.

Template parameters

ParameterDescriptionTypeStatus
The name of your materialmaterial name

The name of your material

Example
Nails
Stringrequired
An image for your material (example.jpg)image

The file name of the image which represents your material the best.

Filesuggested
Synonymssynonyms

Synonyms for the name of the material which might help others searching for this material. E.g. provide german names.

Unknownsuggested
Availability indictoravailable

An indicator, whether the material is available at the CoMakingSpace

Booleanoptional
Suggested donationdonation

The value of a suggested donation people should make when consuming the material

Numberoptional
Material locationlocation

The place the material is located at the CoMakingSpace

Example
[[Location::Wood Workshop]]
Stringsuggested
Toolstools

A list of tools the material can be used with

Example
[[hammers]]
Stringoptional
Used withused with

Anything else (e.g. other materials) the material is used with

Example
[[Wood Glue]]
Stringoptional
Containscontains

Anything the material contains you deem important

Stringoptional
Similar Materialsimilar

A list of materials that are similar to the one you describe

Unknownoptional