User:Trig Jegman/Icon

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


Parameters

Parameter Mandatory Default Purpose Detailed description
subject Yes Subject Name of the subject's article.
textlink 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.
size No 24x24px Size Use this to set the icon to a size of your liking.
variation No Variation 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".
imglink No Image Link If the link to the article is different from the icon's name, specify it here.
class No Class If you'd like to add a CSS class to the image, specify it here.
extension No Change file extension If this parameter has a value, the file extension will be changed to it.

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