Template:Infobox tool: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Update title and image parameters, added TemplateData) |
TheOnlyZac (talk | contribs) (Updated parameters, moved templatedata to doc page) |
||
Line 3: | Line 3: | ||
| title= {{{name|{{PAGENAME}}}}} |
| title= {{{name|{{PAGENAME}}}}} |
||
| above= Tool |
| above= Tool |
||
| image= {{ |
| image= {{#if: {{{image|}}} |{{Image exists|file={{{image|}}}|width={{{width|360px}}}}}}} |
||
| caption= {{{caption|}}} |
| caption= {{{caption|}}} |
||
| label1= {{#if: {{{creator}}}|Creator|}} |
| label1= {{#if: {{{creator}}}|Creator|}} |
||
Line 13: | Line 13: | ||
}}{{ns0|[[Category:Tools]]}}</includeonly><noinclude> |
}}{{ns0|[[Category:Tools]]}}</includeonly><noinclude> |
||
{{Infobox tool |
{{Infobox tool |
||
| image= File: |
| image= File:File_name.png |
||
| caption= caption |
| caption= image caption |
||
| creator= creator |
| creator= creator |
||
| releasedate= January 1 |
| releasedate= January 1 1969 |
||
| github= |
| github= name/repo-name |
||
}} |
}} |
||
{{Documentation}} |
{{Documentation}}</noinclude> |
||
<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" |
|||
] |
|||
} |
|||
</templatedata></noinclude> |