Template:Equipment: Difference between revisions
m (More templatedata testing) |
(Added template data) |
||
Line 39: | Line 39: | ||
<templatedata> | <templatedata> | ||
{ | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "The title for the equipment box", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Info image for equipment", | |||
"type": "wiki-file-name" | |||
}, | |||
"image size": {}, | |||
"image_size": {}, | |||
"imagesize": {}, | |||
"image_upright": {}, | |||
"alt": { | |||
"label": "Alt", | |||
"description": "Alt text for image info", | |||
"type": "string" | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"description": "Breif description of equipment", | |||
"example": "Thing that does stuff", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Status of the machine", | |||
"example": "Broken", | |||
"type": "string" | |||
}, | |||
"manufacturer": { | |||
"label": "Manufacturer", | |||
"description": "The manufacturer of the equipment", | |||
"example": "Acme Co." | |||
}, | |||
"model": { | |||
"label": "Model", | |||
"description": "The model of the equipment", | |||
"type": "string" | |||
}, | |||
"firmware": { | |||
"label": "Firmware", | |||
"description": "Firmware information about the equipment", | |||
"example": "Marlin 2.0" | |||
}, | |||
"head": {}, | |||
"materials": {}, | |||
"area": { | |||
"label": "Area", | |||
"description": "Usable area of the tool/largest piece of stuff it could use", | |||
"example": "200x200x200mm", | |||
"type": "string" | |||
}, | |||
"induction": { | |||
"label": "Induction", | |||
"description": "Is an induction required", | |||
"type": "boolean" | |||
}, | |||
"inductionlink": { | |||
"label": "Induction Link", | |||
"description": "Link to external page with induction on", | |||
"type": "wiki-page-name" | |||
}, | |||
"rfid": { | |||
"label": "RFID", | |||
"description": "Is the tool RFID control locked", | |||
"type": "boolean" | |||
}, | |||
"owner": { | |||
"label": "Owner", | |||
"description": "Who owns the tool", | |||
"example": "Leeds Hackspace", | |||
"type": "string" | |||
}, | |||
"maintainer": { | |||
"label": "Maintainers", | |||
"description": "Who maintains the tools", | |||
"example": "Ben" | |||
}, | |||
"more_link": { | |||
"label": "More info link", | |||
"description": "Link to more info about tool", | |||
"example": "https://toolmanufacturer.com/tools/toolpage.html", | |||
"type": "url" | |||
} | |||
}, | |||
"description": "This is used for adding info to a piece of equipment", | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"image size", | |||
"image_size", | |||
"imagesize", | |||
"image_upright", | |||
"alt", | |||
"description", | |||
"status", | |||
"manufacturer", | |||
"model", | |||
"firmware", | |||
"head", | |||
"materials", | |||
"area", | |||
"induction", | |||
"inductionlink", | |||
"rfid", | |||
"owner", | |||
"maintainer", | |||
"more_link" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Revision as of 10:11, 25 September 2019
This is a piece of equipment. Make sure you don't hurt yourself using it! | |
Equipment Information | |
---|---|
Status | Working |
Manufacturer | Unknown |
Model | Unknown |
Hackspace Information | |
Induction Required | Yes |
Induction Information | Here |
Card RFID Enabled | No |
Owner | Leeds Hackspace |
This is the master copy of the Equipment template used by pretty much every peice of equipment on the wiki.
To develop this template, Please test on the sandbox first, to avoid large scale page malformation.
This is used for adding info to a piece of equipment
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The title for the equipment box | String | optional |
Image | image | Info image for equipment | File | optional |
image size | image size | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
imagesize | imagesize | no description | Unknown | optional |
image_upright | image_upright | no description | Unknown | optional |
Alt | alt | Alt text for image info | String | optional |
Description | description | Breif description of equipment
| String | optional |
Status | status | Status of the machine
| String | optional |
Manufacturer | manufacturer | The manufacturer of the equipment
| Unknown | optional |
Model | model | The model of the equipment | String | optional |
Firmware | firmware | Firmware information about the equipment
| Unknown | optional |
head | head | no description | Unknown | optional |
materials | materials | no description | Unknown | optional |
Area | area | Usable area of the tool/largest piece of stuff it could use
| String | optional |
Induction | induction | Is an induction required | Boolean | optional |
Induction Link | inductionlink | Link to external page with induction on | Page name | optional |
RFID | rfid | Is the tool RFID control locked | Boolean | optional |
Owner | owner | Who owns the tool
| String | optional |
Maintainers | maintainer | Who maintains the tools
| Unknown | optional |
More info link | more_link | Link to more info about tool
| URL | optional |