Template:ToolBox: Difference between revisions
Acharlwood (talk | contribs) mNo edit summary |
Acharlwood (talk | contribs) (templatedata fixes) |
||
Line 130: | Line 130: | ||
"label": "Tool subtitle", | "label": "Tool subtitle", | ||
"type": "string", | "type": "string", | ||
"description": "Subtitle (typically | "description": "Subtitle (typically an alternate name)", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 136: | Line 136: | ||
"label": "Image file name", | "label": "Image file name", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"description": "File name of a picture of the | "description": "File name of a picture of the tool", | ||
"autovalue": "No_image.jpeg", | "autovalue": "No_image.jpeg", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
Line 143: | Line 143: | ||
"label": "Image caption", | "label": "Image caption", | ||
"type": "string", | "type": "string", | ||
"description": "Caption for the picture of the | "description": "Caption for the picture of the tool", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 149: | Line 149: | ||
"label": "Make", | "label": "Make", | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "Make (i.e. Makita)", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 155: | Line 155: | ||
"label": "Model", | "label": "Model", | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "Model (i.e. MGA700)", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 162: | Line 162: | ||
"type": "string", | "type": "string", | ||
"description": "Serial number", | "description": "Serial number", | ||
"autovalue": "N/A", | |||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 167: | Line 168: | ||
"label": "Manufacturer specs", | "label": "Manufacturer specs", | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "Wiki-formatted link to product specifications", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 173: | Line 174: | ||
"label": "Manual", | "label": "Manual", | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "Wiki-formatted link to product manual", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 183: | Line 184: | ||
}, | }, | ||
"rubric": { | "rubric": { | ||
"label": " | "label": "Rubric", | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "Wiki-formatted link to the tool training rubric", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 191: | Line 192: | ||
"label": "Tool training", | "label": "Tool training", | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "Wiki-formatted link to class or short description on how to get trained on this tool", | ||
"autovalue": "[https://www.artisansasylum.com/class-catalog Tool classes]", | "autovalue": "[https://www.artisansasylum.com/class-catalog Tool classes]", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
Line 198: | Line 199: | ||
"label": "Tool testing", | "label": "Tool testing", | ||
"type": "string", | "type": "string", | ||
"description": "List of testers or link to testing signup form", | "description": "List of testers or wiki-formatted link to testing signup form", | ||
"autovalue": "[https://www.artisansasylum.com/tool-testing Tool testing]", | "autovalue": "[https://www.artisansasylum.com/tool-testing Tool testing]", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
Line 212: | Line 213: | ||
"label": "Open hours", | "label": "Open hours", | ||
"type": "string", | "type": "string", | ||
"description": "Link to category | "description": "Link to the wiki category the tool is in (i.e. Category: Drills)", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
} | } |
Revision as of 18:20, 30 January 2024
{{{tool_title}}} | |
---|---|
[[File:{{{image}}}|thumb|250px|{{{caption}}}]] | |
General Info | |
Make | {{{make}}} |
Model | {{{model}}} |
Serial | {{{serial}}} |
Specs | {{{manufacturer_specs}}} |
Manual | {{{manual}}} |
Asylum Info | |
Location | [[:Category:{{{location}}}|{{{location}}}]] |
Rubric | {{{rubric}}} |
Training | {{{training}}} |
Testing | {{{testing}}} |
Restrictions | {{{restrictions}}} |
Usage
This is a template for any publicly-available tool at the Asylum. This template provides information about:
- Tool specifications
- Where this tool is
- How this tool fits into the Asylum's tool training system
- What tools are available at the Asylum
This is achieved through a MediaWiki-based system described in Help:Tools, Training, and Testing.
Example
{{ToolBox |tool_title = Millers Falls HD1234 |tool_subtitle = Hand drill |image = Pic_unrelated_zebra.jpg |caption = This is not a picture of the drill |make = Millers Falls |model = HD1234 |serial = 48 |manufacturer_specs = [https://somewhere.com/product.html From manufacturer] |manual = [https://somewhere.com/manual.html From manufacturer] |location = Woodworking |rubric = {{{rubric|N/A}}} |training = {{{training|N/A}}} |testing = {{{testing|N/A}}} |restrictions = {{{red|green}}} |tool_categories = [[Category: Drills]] }}
Pasteable version
{{ToolBox |tool_title = |tool_subtitle = |image = |caption = |make = |model = |serial = N/A |manufacturer_specs = |manual = |location = |rubric = |training = |testing = |restrictions = |tool_categories = }}
Special Fields
There are several fields that require special consideration in this template.
Species
Tool Species have not been implemented on this wiki yet. --acharlwood | |
---|---|
The species field refers to a wiki category (minus the Category: part of the identifier) for the correct tool species. This will indicate the Asylum training information for the tool. If you don't know the proper value for this field, don't include this line.
{{ToolBox |species = Vertical Band Saws }}
Location
The location field refers to a wiki category (minus the Category: part of the identifier) for the correct Shop. This will place a listing for the tool on that Shop category page. If you don't know the proper value for this field, don't include this line.
{{ToolBox |location = Woodworking }}
Tool Categories
When tools are permanently removed from the Asylum, they are switched to the ToolBox-Gone Template. This is as simple as changing the name of the template.
Using the template system is the easiest way to remove decommissioned tools from category listings on the wiki. Put the categories inside the template instead of listing the categories at the bottom of the article. Only the main ToolBox template will apply the categories, which means less editing to keep everything accurate.
{{ToolBox |tool_categories = [[Category:Woodworking Tools]] [[Category:Sanding Tools]] }}
In the above example, the tool would be placed into the Woodworking Tools and Sanding Tools categories and removed from those categories when the template is switched from ToolBox to ToolBox-Gone.
Do not add the tool species nor the shop category names to the tool_categories field because it will cause inaccuracies in category listings.
Adds an easily scannable information block to a tool page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tool name | tool_title 1 | Name of the tool (i.e. Makita MGA700 Angle Grinder) | String | required |
Tool subtitle | tool_subtitle 1 | Subtitle (typically an alternate name) | String | optional |
Image file name | image 1 | File name of a picture of the tool
| File | optional |
Image caption | caption 1 | Caption for the picture of the tool | String | optional |
Make | make 1 | Make (i.e. Makita) | String | optional |
Model | model 1 | Model (i.e. MGA700) | String | optional |
Serial | serial 1 | Serial number
| String | optional |
Manufacturer specs | manufacturer_specs 1 | Wiki-formatted link to product specifications | String | optional |
Manual | manual 1 | Wiki-formatted link to product manual | String | optional |
Location | location 1 | Name of the shop the tool is in (i.e. Wood Shop) | String | optional |
Rubric | rubric 1 | Wiki-formatted link to the tool training rubric | String | optional |
Tool training | training 1 | Wiki-formatted link to class or short description on how to get trained on this tool
| String | optional |
Tool testing | testing 1 | List of testers or wiki-formatted link to testing signup form
| String | optional |
Tool restrictions | restrictions 1 | Tool restriction (red or green)
| String | optional |
Open hours | tool_categories 1 | Link to the wiki category the tool is in (i.e. Category: Drills) | String | optional |