Template:Game icons: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (fix positioning for new location)
mNo edit summary
Line 1: Line 1:
<includeonly><div id="game-icons" style="z-index: 10; float: right; top: -44px; margin-top: 10px; margin-bottom: -100%;">{{#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>
<includeonly><div id="game-icons" style="z-index: 10; float: right; margin-top: -30px; margin-bottom: -100%;">{{#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 10:35, September 7, 2013


File:Pikmin icon.pngPikmin 2Pikmin 3

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}}