Template:Infobox game mechanic: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Auto-detect game from namespace) |
TheOnlyZac (talk | contribs) (Only show missing image card if a file name was specified) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox |
<includeonly>{{Infobox |
||
| name=Template:Infobox game mechanic |
|||
| bodystyle= width: {{{width|360px}}} |
| bodystyle= width: {{{width|360px}}} |
||
| title= {{{name|{{PAGENAME}}}}} |
| title= {{{name|{{PAGENAME}}}}} |
||
| above= Game Mechanic |
| above= Game Mechanic |
||
| image= {{ |
| image= {{#if:{{{image|}}}|{{Image exists|file={{{image|}}}|width={{{width|360px}}}}}}} |
||
| caption= {{{caption|}}} |
| caption= {{{caption|}}} |
||
| label1= Game |
| label1= Game |
||
| |
| data1= {{Sly other |
||
| sly1= [[Sly 1|{{Sly 1}}]][[Category:Game mechanics in Sly 1]] |
| sly1= [[Sly 1|{{Sly 1}}]][[Category:Game mechanics in Sly 1]] |
||
| sly2= [[Sly 2|{{Sly 2}}]][[Category:Game mechanics in Sly 2]] |
| sly2= [[Sly 2|{{Sly 2}}]][[Category:Game mechanics in Sly 2]] |
||
Line 13: | Line 14: | ||
}} |
}} |
||
}} |
}} |
||
{{ns0|[[Category:Game mechanics]]}} |
{{ns0|[[Category:Game mechanics]]}} |
||
{{WikiSEO helper |
|||
| title={{Main other | {{PAGENAME}} in {{NAMESPACE}} | {{FULLPAGENAME}} }} |
|||
| description={{Main other|{{PAGENAME}} is a game mechanic in {{Sly other|sly1={{Sly 1}}|sly2={{Sly 2}}|sly3={{Sly 3}}|sly4={{Sly 4}}|other=the Sly Cooper series}}|}}. |
|||
| image={{#if: {{{image|}}} | {{{image}}} |}} |
|||
| keywords= engine, mechanics, game mechanics, logic |
|||
}}</includeonly><noinclude> |
|||
{{Infobox game mechanic |
{{Infobox game mechanic |
||
| image= File:ITM anticrack firewall.png |
| image= File:ITM anticrack firewall.png |
||
| caption= caption |
| caption= caption |
||
| width= 360px |
| width= 360px |
||
| sly1= y |
|||
| sly2= y |
|||
| sly3= y |
|||
}} |
}} |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 01:13, 3 May 2023
Game Mechanic | |
---|---|
Use this template to add an Infobox to an article for a game mechanic.
Usage
The template supports the following parameters.
- name - The title above the infobox. Default is the full page name.
- image - An image to be displayed in the infobox. Default is {{No image}}.
- Use just the name of the image, eg. File:ITM anticrack firewall.png, not [[File:ITM anticrack firewall]]
- caption - The caption below the image.
- width - Width of the image/infobox body. Default is 360px.
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Infobox game mechanic
An infobox for use on game mechanic articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | optional |
image | image | no description | File | optional |
caption | caption | no description | String | optional |
width | width | no description | Unknown | optional |
See also
- {{Infobox data structure}}
- {{Infobox subsystem}}
- {{Infobox map}}
- {{Infobox mod}}