Template:Infobox game mechanic: Difference between revisions

Auto-detect game from namespace
(Moved templatedata to doc)
(Auto-detect game from namespace)
Line 6:
| caption= {{{caption|}}}
| label1= Game
| data1data3= {{CommaSly separated entriesother
| {{#ifeq: {{{sly1}}} | y |= [[Sly 1|{{Sly 1}}]]{{ns0|[[Category:Game mechanics in Sly 1]]}} | }}
| {{#ifeq: {{{sly2}}} | y |= [[Sly 2|{{Sly 2}}]]{{ns0|[[Category:Game mechanics in Sly 2]]}} | }}
| {{#ifeq: {{{sly3}}} | y |= [[Sly 3|{{Sly 3}}]]{{ns0|[[Category:Game mechanics in Sly 3]]}} | }}
| sly4= [[Sly 4|{{Sly 4}}]][[Category:Game mechanics in Sly 4]]
}}
}}