Template:Infobox game mechanic: Difference between revisions

Only show missing image card if a file name was specified
(I think I fixed it this time)
(Only show missing image card if a file name was specified)
 
(13 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{{Infobox
| name=Template:Infobox game mechanic
| title= {{{{{{name|{{{title|}}}}}}|{{FULLPAGENAME}}}}}
| bodystyle= width: {{{width|360px}}}
| title= {{{name|{{PAGENAME}}}}}
| above= Game Mechanic
| image= {{{#if:{{{image|}}}|{{NoImage exists|file={{{image|180px}}}|width={{{width|360px}}}}}}}
| caption= {{{caption|}}}
| label1= Game(s)
| data1= {{#ifeq: {{{sly1}}} | y | [[Sly 1]][[Category:Game mechanics in Sly 1]] | }}
| data1= {{Sly other
{{#ifeq: {{{sly2}}} | y | [[Sly 2]][[Category:Game mechanics in Sly 2]] | }}
{{#ifeq: {{{sly3}}} | y |sly1= [[Sly 31|{{Sly 1}}]][[Category:Game mechanics in Sly 31]] | }}
| data1= {{#ifeq: {{{sly1}}} | y |sly2= [[Sly 12|{{Sly 2}}]][[Category:Game mechanics in Sly 12]] | }}
{{#ifeq: {{{sly2}}} | y |sly3= [[Sly 23|{{Sly 3}}]][[Category:Game mechanics in Sly 23]] | }}
| sly4= [[Sly 4|{{Sly 4}}]][[Category:Game mechanics in Sly 4]]
}}
}}
{{ns0|[[Category:Game mechanics]]</includeonly><noinclude>}}
{{WikiSEO helper
| title= {{{{{{nameMain other | {{{title|}}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
| image= File:ITM anticrack firewall.png
| caption= caption
| width= 360px
}}
[[Category:Game mechanics]]</includeonly><noinclude>
{{Documentation}}
[[Category:SlyMods templates]]
</noinclude>