Template:Game icons: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) mNo edit summary |
(Taking the SmashWiki approach.) |
||
Line 1: | Line 1: | ||
<includeonly><div id="game-icons" style=" | <includeonly><div id="game-icons" style="position:absolute;z-index:100;right:10px;top:-30px;float:right">{{#if:{{{pikmin|{{{p|}}} }}}|<span style="margin: 0 3px;">[[File:Pikmin icon.png|link=Pikmin (game)]]</span>}}{{#if:{{{pikmin2|{{{p2|}}} }}}|<span style="margin: 0 3px;">[[File:Pikmin 2 icon.png|link=Pikmin 2]]</span>}}{{#if:{{{pikmin3|{{{p3|}}} }}}|<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> | <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> |
Revision as of 15:33, January 30, 2014
Usage
Shows game icons next to the page title. Call with pikmin, pikmin2 and pikmin3 arguments (or shorthand p, p2 and p3) for every icon to include, eg.
{{game icons|pikmin2=y|pikmin3=y}}