Template:Infobox game mechanic: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Updated image and width parameters)
(Only show missing image card if a file name was specified)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| name=Template:Infobox game mechanic
| bodystyle= {{#if: {{{width|}}} | width: {{{width}}} | max-width: 540px !important}}
| title= {{{name|{{FULLPAGENAME}}}}}
| bodystyle= width: {{{width|360px}}}
| title= {{{name|{{PAGENAME}}}}}
| above= Game Mechanic
| above= Game Mechanic
| image= {{#if: {{{image}}}
| image= {{#if:{{{image|}}}|{{Image exists|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
| data1= {{Comma separated entries
| data1= {{Sly other
| {{#ifeq: {{{sly1}}} | y | [[Sly 1]][[Category:Game mechanics in Sly 1]] | }}
| sly1= [[Sly 1|{{Sly 1}}]][[Category:Game mechanics in Sly 1]]
| {{#ifeq: {{{sly2}}} | y | [[Sly 2]][[Category:Game mechanics in Sly 2]] | }}
| sly2= [[Sly 2|{{Sly 2}}]][[Category:Game mechanics in Sly 2]]
| {{#ifeq: {{{sly3}}} | y | [[Sly 3]][[Category:Game mechanics in Sly 3]] | }}
| sly3= [[Sly 3|{{Sly 3}}]][[Category:Game mechanics in Sly 3]]
| sly4= [[Sly 4|{{Sly 4}}]][[Category:Game mechanics in Sly 4]]
}}
}}
}}
}}
{{ns0|[[Category:Game mechanics]]}}</includeonly><noinclude>
{{ns0|[[Category:Game mechanics]]}}
{{WikiSEO helper
{{{{FULLPAGENAME}}
| title={{Main other | {{PAGENAME}} in {{NAMESPACE}} | {{FULLPAGENAME}} }}
| name= name
| 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
| 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

Infobox game mechanic
Game Mechanic
caption