Template:Infobox tool: Difference between revisions

Update title and image parameters, added TemplateData
m (Fixed typo)
(Update title and image parameters, added TemplateData)
Line 1:
<includeonly>{{Infobox
| bodystyle= width: {{{width|360px}}}
| title= {{{name|{{FULLPAGENAMEPAGENAME}}}}}
| above= Tool
| image= {{#if:No image|file={{{image|}}}|width={{{width|360px}}}}}
| {{#ifexist: {{{image}}}
| [[{{{image}}}|{{{width|360px}}}]]
| {{No image|{{{width|360px}}}|link={{{image|}}}}}
}}
| {{No image|{{{width|360px}}}}}
}}
| caption= {{{caption|}}}
| label1= {{#if: {{{creator}}}|Creator|}}
Line 19 ⟶ 13:
}}{{ns0|[[Category:Tools]]}}</includeonly><noinclude>
{{Infobox tool
| name= name
| image= File:XXX.png
| caption= caption
| creator= creator
| releasedate= releasedateJanuary 1, 1969
| github= github
}}
{{Documentation}}
<templatedata>
</noinclude>
{
"params": {
"width": {},
"name": {
"type": "string"
},
"image": {
"type": "wiki-file-name"
},
"caption": {
"type": "string"
},
"creator": {
"type": "string"
},
"releasedate": {
"type": "date"
},
"github": {
"type": "string"
}
},
"description": "An infobox for use on tool articles.",
"paramOrder": [
"name",
"image",
"caption",
"width",
"creator",
"releasedate",
"github"
]
}
</templatedata></noinclude>