Template:Infobox tool: Difference between revisions

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

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