Template:Icon
From Pikmin Fanon
Info
|
This template shows the icon of a subject, with the icon linking to said subject. You can also have it quickly give a link to the subject in plain text, right after the icon.
All icons of canon enemies, plants, and Pikmin will have a game title in front of their filenames (i.e. P2 Pellet Posy), so specific appearances may be chosen. This may also apply to fanon icons of the same kind (i.e. PWW Green Pikmin).
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Subject | Name of the subject's article. | |
2 | No | Text link | If this has a value, like "y", the subject's name will also appear behind the icon, with a link to the subject's article. | |
3 | No | 20px | Size | Use this to set the icon to a size of your liking. |
v | No | Version | If there is more than one version of the subject, use this parameter to specify it. This is valid for icon filenames that follow the following pattern: "<version> <subject> icon.png". | |
v2 | No | Alt version | If the image you want has another modifier in its title, specify it here. | |
l | No | Link | If the link to the article is different from the icon's name, specify it here. | |
n | No | Display name | If you want a different display name for the text link, specify it here. | |
nosize | No | Ignore "size" | If this parameter has a value, the icon size will not be changed from the original. |
Skeleton
{{icon|<subject>|<text link?>|<size>|v=<version>|v2=<version 2>|l=<link>|n=<display name>|nosize=<no resize?>}}
Examples
Code | Result |
---|---|
{{icon|Electric Bloyster}} |
|
{{icon|Mushroom Pikmin|v=P1}} |
|
{{icon|Metal Shearwig|y|10px}} |
Metal Shearwig |
{{icon|Enemy|y|l=Falserage Snagret|n=Falserage Snagret}} |
Falserage Snagret |
{{icon|Burgeoning Spiderwort|y|v=P3|v2=spicy|n=Spicy Burgeoning Spiderwort|nosize=y}} |
Spicy Burgeoning Spiderwort |
{{icon|Zest Bomb|y|v=P3}} |
Zest Bomb |
{{icon|Tin box|l=Box|n=Tin box}} |