Template:Infobox game mechanic: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added category helpers) |
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= Game Mechanic |
| above= Game Mechanic |
||
| 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= Game |
| label1= Game |
||
Line 20: | Line 14: | ||
{{ns0|[[Category:Game mechanics]]}}</includeonly><noinclude> |
{{ns0|[[Category:Game mechanics]]}}</includeonly><noinclude> |
||
{{Infobox game mechanic |
{{Infobox game mechanic |
||
| name= name |
|||
| image= File:ITM anticrack firewall.png |
| image= File:ITM anticrack firewall.png |
||
| caption= caption |
| caption= caption |
||
Line 29: | Line 22: | ||
}} |
}} |
||
{{Documentation}} |
{{Documentation}} |
||
<templatedata> |
|||
⚫ | |||
{ |
|||
"params": { |
|||
"width": {}, |
|||
"name": { |
|||
"type": "string" |
|||
}, |
|||
"image": { |
|||
"type": "wiki-file-name" |
|||
}, |
|||
"caption": { |
|||
"type": "string" |
|||
}, |
|||
"sly1": {}, |
|||
"sly2": {}, |
|||
"sly3": {} |
|||
}, |
|||
"description": "An infobox for use on game mechanic articles.", |
|||
"paramOrder": [ |
|||
"name", |
|||
"image", |
|||
"caption", |
|||
"width", |
|||
"sly1", |
|||
"sly2", |
|||
"sly3" |
|||
] |
|||
} |
|||
⚫ |