Information icon-grey.svg
This is a documentation subpage for Template:Iconlink.
It contains usage information, categories, and other content that is not part of the original template page.

This template creates an image and links it to the page as well as including text as well as resizing it to the given size in pixels.

This is a variation of Template:Pic link.


{{iconlink|item|pic=file name|txt=text|size=size without px}}


This parameter takes the name of the page that the link is for


If included, this changes the filename used; defaults to the first parameter + " icon"; do not include "File:" or ".png"


Alternate text in the link; defaults to the first parameter


The size of an image if the image is too big, only number are allowed, "px" is already included in the code. The default size is 35x35px.

Code Produces Standard syntax
{{iconlink|Balance beam}} Balance beam icon.png Balance beam [[File:Balance beam icon.png|link=Balance beam]] [[Balance beam]]
{{iconlink|Granite maul|pic=Abyssal whip}} Abyssal whip.png Granite maul [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul]]
{{iconlink|Balance beam|txt=Beam}} Balance beam icon.png Beam [[File:Balance beam icon.png|link=Balance beam]] [[Balance beam|Beam]]
{{iconlink|Balance beam|pic=Abyssal whip|txt=Whip}} Abyssal whip.png Whip [[File:Abyssal whip.png|link=Balance beam]] [[Balance beam|Whip]]
{{iconlink|Balance beam|pic=Guthix jadinko|txt=Whip|size=35}} Guthix jadinko.png Whip [[File:Guthix jadinko.png|link=Balance beam|35px]] [[Balance beam|Whip]]

Community content is available under CC-BY-SA unless otherwise noted.