Template:Infobox tool: Difference between revisions
Jump to navigation
Jump to search
(Added additional fields) |
(Add additional fields to infobox) |
||
Line 12: | Line 12: | ||
| label3 = Model | | label3 = Model | ||
| data3 = {{{model|}}} | | data3 = {{{model|}}} | ||
| label4 = On loan from | |||
| data4 = {{{loaned_from|}}} | |||
| header20 = Documentation | | header20 = Documentation | ||
| label21 = Manual | | label21 = Manual | ||
| data21 = {{{manual_link|}}} | | data21 = {{{manual_link|}}} | ||
| label22 = Indicution page link | |||
| data22 = {{{induction_link|}}} | |||
| label23 = Primary Contacts | |||
| data23 = {{{primary_contacts|}}} | |||
}} | }} | ||
{{#if: {{{image|}}} | | <includeonly>[[Category:Pages with missing tool image]]</includeonly>}} | {{#if: {{{image|}}} | | <includeonly>[[Category:Pages with missing tool image]]</includeonly>}} | ||
{{#if: {{{loaned_from|}}} | <includeonly>[[Category:Tools loaned to the space]]</includeonly>}} | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 31: | Line 38: | ||
"label": "Tool image", | "label": "Tool image", | ||
"description": "Image of the tool", | "description": "Image of the tool", | ||
"type": "content" | "type": "content", | ||
"suggested": true | |||
}, | }, | ||
"caption": { | "caption": { | ||
Line 52: | Line 60: | ||
"label": "Tool Model", | "label": "Tool Model", | ||
"description": "Model of the tool", | "description": "Model of the tool", | ||
"type": "line" | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"manual_link": { | "manual_link": { | ||
"label": "Tool manual", | "label": "Tool manual", | ||
"description": "A link to the manual for the tool", | "description": "A link to the manual for the tool", | ||
"type": "url", | |||
"suggested": true | |||
}, | |||
"induction_link": { | |||
"description": "A link to the induction information", | |||
"type": "url" | "type": "url" | ||
}, | |||
"primary_contacts": { | |||
"description": "Primary contacts for the tool", | |||
"type": "line" | |||
}, | |||
"loaned_from": { | |||
"description": "Whom the tool is on loan from if not owned by the space", | |||
"type": "line" | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"caption", | |||
"type", | |||
"manufacturer", | |||
"model", | |||
"loaned_from", | |||
"manual_link", | |||
"induction_link", | |||
"primary_contacts" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 18:17, 17 September 2024
Infobox for tools
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | name of the tool (defaults to page name if not set) | Line | optional |
Tool image | image | Image of the tool | Content | suggested |
Image caption | caption | caption for the tool image | Line | optional |
Tool Type | type | Tupe of tool | Line | optional |
Manufactuerer | manufacturer | Manufactuer of the tool | Line | suggested |
Tool Model | model | Model of the tool | Line | suggested |
loaned_from | loaned_from | Whom the tool is on loan from if not owned by the space | Line | optional |
Tool manual | manual_link | A link to the manual for the tool | URL | suggested |
induction_link | induction_link | A link to the induction information | URL | optional |
primary_contacts | primary_contacts | Primary contacts for the tool | Line | optional |