Template:Infobox tool: Difference between revisions
Jump to navigation
Jump to search
(Added inital Tool infobox) |
(Add additional fields to infobox) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | | title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | ||
| autoheaders = y | |||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
Line 6: | Line 8: | ||
| label1 = Type | | label1 = Type | ||
| data1 = {{{type|}}} | | data1 = {{{type|}}} | ||
| label2 = Manufacturer | |||
| data2 = {{{manufacturer|}}} | |||
| label3 = Model | |||
| data3 = {{{model|}}} | |||
| label4 = On loan from | |||
| data4 = {{{loaned_from|}}} | |||
| header20 = Documentation | |||
| label21 = Manual | |||
| 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 21: | 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 31: | Line 49: | ||
"label": "Tool Type", | "label": "Tool Type", | ||
"description": "Tupe of tool", | "description": "Tupe of tool", | ||
"type": "line" | |||
}, | |||
"manufacturer": { | |||
"label": "Manufactuerer", | |||
"description": "Manufactuer of the tool", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"model": { | |||
"label": "Tool Model", | |||
"description": "Model of the tool", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"manual_link": { | |||
"label": "Tool manual", | |||
"description": "A link to the manual for the tool", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"induction_link": { | |||
"description": "A link to the induction information", | |||
"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" | "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 |