Template:Game icons: Difference between revisions
Jump to navigation
Jump to search
m (→Parameters) |
(Added support for Pikmin Bloom.) |
||
Line 1: | Line 1: | ||
<includeonly><div>{{#if:{{{pikmin|}}}{{{p|}}}|<indicator name="1-p">{{icon|Pikmin (game)||x24px}}</indicator>[[Category:Pikmin 1]]}}{{#if:{{{pikmin2|}}}{{{p2|}}}|<indicator name="2-p2">{{icon|Pikmin 2||x24px}}</indicator>[[Category:Pikmin 2]]}}{{#if:{{{pikmin3|}}}{{{p3|}}}|<indicator name="3-p3">{{icon|Pikmin 3||x24px}}</indicator>[[Category:Pikmin 3]]}}{{#if:{{{heypikmin|}}}{{{hp|}}}|<indicator name="4-hp">{{icon|Hey! Pikmin||x24px}}</indicator>[[Category:Hey! Pikmin]]}}{{#if:{{{pikminadventure|}}}{{{pa|}}}|<indicator name=" | <includeonly><div>{{#if:{{{pikmin|}}}{{{p|}}}|<indicator name="1-p">{{icon|Pikmin (game)||x24px}}</indicator>[[Category:Pikmin 1]]}}{{#if:{{{pikmin2|}}}{{{p2|}}}|<indicator name="2-p2">{{icon|Pikmin 2||x24px}}</indicator>[[Category:Pikmin 2]]}}{{#if:{{{pikmin3|}}}{{{p3|}}}|<indicator name="3-p3">{{icon|Pikmin 3||x24px}}</indicator>[[Category:Pikmin 3]]}}{{#if:{{{heypikmin|}}}{{{hp|}}}|<indicator name="4-hp">{{icon|Hey! Pikmin||x24px}}</indicator>[[Category:Hey! Pikmin]]}}{{#if:{{{pikminbloom|}}}{{{pb|}}}|<indicator name="5-pb">{{icon|Pikmin Bloom||x24px}}</indicator>[[Category:Pikmin Bloom]]}}{{#if:{{{pikminadventure|}}}{{{pa|}}}|<indicator name="6-pa">[[File:Pikmin Adventure icon.png|link=Pikmin Adventure]]</indicator>[[Category:Pikmin Adventure]]}}</div></includeonly><noinclude> | ||
==Info== | ==Info== | ||
Line 21: | Line 21: | ||
! hp || heypikmin | ! hp || heypikmin | ||
| No || || Same as above, but an H in a speech bubble for {{hp}}. | | No || || Same as above, but an H in a speech bubble for {{hp}}. | ||
|- | |||
! pb || pikminbloom | |||
| No || || Same as above, but a yellow B for {{pb}}. | |||
|- | |- | ||
! pa || pikminadventure | ! pa || pikminadventure | ||
Line 28: | Line 31: | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <pre> | ||
{{game icons|p=<y>|p2=<y>|p3=<y>|hp=<y>|pa=<y>}} | {{game icons|p=<y>|p2=<y>|p3=<y>|hp=<y>|pb=<y>|pa=<y>}} | ||
</pre> | </pre> | ||
Revision as of 16:25, October 27, 2021
Info
Shows game icons next to the page title. These are used to quickly highlight which games the subject applies to or are related with.
Pages with this template are also categorized under the corresponding game category.
Parameters
Parameter | Mandatory | Default | Detailed description | |
---|---|---|---|---|
p | pikmin | No | If this has a value, like "y", a white P will appear, symbolizing Pikmin. | |
p2 | pikmin2 | No | Same as above, but a violet 2 for Pikmin 2. | |
p3 | pikmin3 | No | Same as above, but an orange 3 for Pikmin 3 and Pikmin 3 Deluxe. | |
hp | heypikmin | No | Same as above, but an H in a speech bubble for Hey! Pikmin. | |
pb | pikminbloom | No | Same as above, but a yellow B for Pikmin Bloom. | |
pa | pikminadventure | No | Same as above, but a red A for Pikmin Adventure. |
Skeleton
{{game icons|p=<y>|p2=<y>|p3=<y>|hp=<y>|pb=<y>|pa=<y>}}
Examples
Note that in an article, these are not inline, but appear on the top-right corner of the page.
Code | Result |
---|---|
{{game icons|pikmin=y|pikmin2=y|pikmin3=y|pikminadventure=y}} |
|
{{game icons|p=y|p3=y}} |