Template:Game icons: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) (let's try this) |
Greenpickle (talk | contribs) (cat, doc) |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative; z-index: 10; float: right; top: -44px;">{{#if:{{{pikmin|}}}|<span style="margin: 0 3px;">[[File:Pikmin icon.png|link=Pikmin (game)]]</span>}}{{#if:{{{pikmin2|}}}|<span style="margin: 0 3px;">[[File:Pikmin 2 icon.png|link=Pikmin 2]]</span>}}{{#if:{{{pikmin3|}}}|<span style="margin: 0 3px;">[[File:Pikmin 3 icon.png|link=Pikmin 3]]</span>}}</div></includeonly> | <includeonly><div style="position: relative; z-index: 10; float: right; top: -44px;">{{#if:{{{pikmin|}}}|<span style="margin: 0 3px;">[[File:Pikmin icon.png|link=Pikmin (game)]]</span>}}{{#if:{{{pikmin2|}}}|<span style="margin: 0 3px;">[[File:Pikmin 2 icon.png|link=Pikmin 2]]</span>}}{{#if:{{{pikmin3|}}}|<span style="margin: 0 3px;">[[File:Pikmin 3 icon.png|link=Pikmin 3]]</span>}}</div></includeonly><noinclude> | ||
<span style="margin: 0 3px;">[[File:Pikmin icon.png|link=Pikmin (game)]]</span><span style="margin: 0 3px;">[[File:Pikmin 2 icon.png|link=Pikmin 2]]</span><span style="margin: 0 3px;">[[File:Pikmin 3 icon.png|link=Pikmin 3]]</span> | |||
==Usage== | |||
Shows game icons next to the page title. Call with ''pikmin'', ''pikmin2'' and ''pikmin3'' arguments for every icon to include, eg. | |||
<nowiki>{{game icons|pikmin2=y|pikmin3=y}}</nowiki> | |||
[[Category:Templates]]</noinclude> |
Revision as of 12:58, June 29, 2013
Usage
Shows game icons next to the page title. Call with pikmin, pikmin2 and pikmin3 arguments for every icon to include, eg.
{{game icons|pikmin2=y|pikmin3=y}}