Information icon-greyThis is a documentation subpage for Template:Pic link.
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. For a textless version, use {{Pic link plain}}.

This template should be used sparingly. Its main purpose is to add images to navboxes and tables. In most other cases, pages should be linked with normal markup and without an image.


{{plink|item|pic=file name|txt=text}}


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; do not include "File:" or ".png"


Alternate text in the link; defaults to the first parameter

Code Produces Standard syntax
{{plink|Abyssal whip}} Abyssal whip Abyssal whip [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip]]
{{plink|Granite maul|pic=Abyssal whip}} Abyssal whip Granite maul [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul]]
{{plink|Abyssal whip|txt=Whip}} Abyssal whip Whip [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip|Whip]]
{{plink|Granite maul|pic=Abyssal whip|txt=Whip}} Abyssal whip Whip [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul|Whip]]

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