Template:Infobox tool: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) m (Fixed typo) |
TheOnlyZac (talk | contribs) (Update title and image parameters, added TemplateData) |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox |
<includeonly>{{Infobox |
||
| bodystyle= width: {{{width|360px}}} |
| bodystyle= width: {{{width|360px}}} |
||
| title= {{{name|{{ |
| title= {{{name|{{PAGENAME}}}}} |
||
| above= Tool |
| above= Tool |
||
| image= {{ |
| image= {{No image|file={{{image|}}}|width={{{width|360px}}}}} |
||
| {{#ifexist: {{{image}}} |
|||
| [[{{{image}}}|{{{width|360px}}}]] |
|||
| {{No image|{{{width|360px}}}|link={{{image|}}}}} |
|||
}} |
|||
| {{No image|{{{width|360px}}}}} |
|||
}} |
|||
| caption= {{{caption|}}} |
| caption= {{{caption|}}} |
||
| label1= {{#if: {{{creator}}}|Creator|}} |
| label1= {{#if: {{{creator}}}|Creator|}} |
||
Line 19: | Line 13: | ||
}}{{ns0|[[Category:Tools]]}}</includeonly><noinclude> |
}}{{ns0|[[Category:Tools]]}}</includeonly><noinclude> |
||
{{Infobox tool |
{{Infobox tool |
||
| name= name |
|||
| image= File:XXX.png |
| image= File:XXX.png |
||
| caption= caption |
| caption= caption |
||
| creator= creator |
| creator= creator |
||
| releasedate= |
| releasedate= January 1, 1969 |
||
| github= github |
| github= github |
||
}} |
}} |
||
{{Documentation}} |
{{Documentation}} |
||
<templatedata> |
|||
⚫ | |||
{ |
|||
"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" |
|||
] |
|||
} |
|||
⚫ |