Template:ToolInfo: Difference between revisions

From Claremont MakerSpace
No edit summary
(Add TemplateData)
Line 29: Line 29:
  |working=<working>
  |working=<working>
}}
}}
A template for tool info box. Add added properties to [[:Category:Tools]] when appropriate.
When adding properties, please also add them to to [[:Category:Tools]] when appropriate.<templatedata>
</noinclude>
{
"description": "A template for a tool info box.",
"format": "block",
"params": {
"name": {
"label": "Name",
"description": "The tool's name",
"type": "line",
"required": true
},
"common name": {
"label": "Common Name",
"description": "An alternate, often more friendly name",
"type": "line"
},
"image": {
"label": "Image",
"description": "A picture of the tool",
"type": "wiki-file-name"
},
"make": {
"label": "Make",
"description": "The name of the tool's manufacturer",
"type": "line",
"suggested": true
},
"model": {
"label": "Model",
"description": "The model/model number of the tool",
"type": "line",
"suggested": true
},
"serial": {
"label": "Serial",
"description": "The serial number(s) of the tool",
"type": "line"
},
"specs": {
"label": "Specs",
"description": "A list of links to specs pages or PDFs",
"type": "content"
},
"manual": {
"label": "Manual",
"description": "A list of links to manual pages or PDFs",
"type": "content"
},
"working": {
"label": "Working",
"description": "Is the tool currently working? (Yes or No)",
"type": "line",
"default": "Unknown",
"suggested": true
},
"certification": {
"label": "Requires Certification",
"description": "Does the tool require certification? (Yes or No)",
"type": "line",
"default": "Unknown",
"suggested": true
},
"shop": {
"label": "In Shop",
"description": "What shop does the tool belong to?",
"type": "wiki-page-name",
"required": true
}
}
}
</templatedata></noinclude>

Revision as of 07:29, 25 June 2020

This section has been marked as TODO.

Template:InfoBox

When adding properties, please also add them to to Category:Tools when appropriate.

A template for a tool info box.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The tool's name

Linerequired
Common Namecommon name

An alternate, often more friendly name

Lineoptional
Imageimage

A picture of the tool

Fileoptional
Makemake

The name of the tool's manufacturer

Linesuggested
Modelmodel

The model/model number of the tool

Linesuggested
Serialserial

The serial number(s) of the tool

Lineoptional
Specsspecs

A list of links to specs pages or PDFs

Contentoptional
Manualmanual

A list of links to manual pages or PDFs

Contentoptional
Workingworking

Is the tool currently working? (Yes or No)

Default
Unknown
Linesuggested
Requires Certificationcertification

Does the tool require certification? (Yes or No)

Default
Unknown
Linesuggested
In Shopshop

What shop does the tool belong to?

Page namerequired