Template:Infobox tool: Difference between revisions

From SoMakeIt
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

Template parameters

ParameterDescriptionTypeStatus
namename

name of the tool (defaults to page name if not set)

Lineoptional
Tool imageimage

Image of the tool

Contentsuggested
Image captioncaption

caption for the tool image

Lineoptional
Tool Typetype

Tupe of tool

Lineoptional
Manufactuerermanufacturer

Manufactuer of the tool

Linesuggested
Tool Modelmodel

Model of the tool

Linesuggested
loaned_fromloaned_from

Whom the tool is on loan from if not owned by the space

Lineoptional
Tool manualmanual_link

A link to the manual for the tool

URLsuggested
induction_linkinduction_link

A link to the induction information

URLoptional
primary_contactsprimary_contacts

Primary contacts for the tool

Lineoptional