User:Trig Jegman/Icon

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search


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 in front of the icon, with a link to the subject's article.
3 No 24x24px 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: "<subject> <version> icon.png".
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.
c No Class If you'd like to add a CSS class to the image, 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=<main subject|variation=<any alternate forms>|size=<defaults to 24px>|imglink=<link on the image; defaults to subject>|textlink=<when added, creates a text link>|class=<optional css class>|ext=<non-png file extensions>}}
Code Result
{{icon|subject=Swooping Snitchbug}}
Swooping Snitchbug
{{icon|Swooping Snitchbug}}
File:Arachnode Indigenous Life P3 icon.jpg
{{icon|subject=Shoot|subject=Bookend|game=P4|textlink=Bookend|size=16px}}
BookendBookend
{{icon|Burgeoning Spiderwort|subject=Burgeoning Spiderwort|game=P4|variation=spicy|imglink=Burgeoning Spiderwort|textlink=Burgeoning Spiderwort{{!}}Spicy Burgeoning Spiderwort}}
Spicy Burgeoning SpiderwortSpicy Burgeoning Spiderwort