This template takes a single parameter and provides a link to something accompanied by a 40px image of it. For this template to work, there must be a png image with the same name of the page you are trying to link to.
Optional parameters can change this behavior but are for most use cases unneeded.
1is the main and only mandatory parameter. The template will add content equivalent to <span style="white-space:nowrap;">[[File:1.png|x40px|link=1|alt=]] []</span>.
imageif specified will change the image used. Note that file extension must be specified if using this parameter.
linkif specified will change the link target on the image and link.
sizeif specified will change the size of the associated image.
textif specified will change the display text of the link, but not the link target
For pages with too many links, the wiki will not compute all the
#ifexist checks and the placeholder image will be used for all elements after the limit is reached. You can bypass this for items which you know have images by including the
imageexists parameter and setting it to any value (
true is recommended).
If you try this with an item that doesn't exist, it will show