Template:Icon link
Revision as of 11:01, 23 December 2021 by Tobias Alcaraz (talk | contribs) (Undo revision 26341 by Tobias Alcaraz (talk))
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
About
This template (named Ilink as a shortcut for icon link) serves as an easy method to add icon sprites along with their link into a page or anywhere else using a single, standarized format.
Usage
The syntax of the template is {{Ilink|<name>|<link>|<displayed-name>?|<tooltip-text>?|<class>?}}</nowiki>
. All parameters default to the first one if those are not specified.
Examples
{{Ilink|Wooden Planks}}</nowiki>
→ Wooden Planks{{Ilink|Wooden Planks|Cow}}</nowiki>
→ Wooden Planks{{Ilink|Wooden Planks|Cow|Tooltip text.}}</nowiki>
→ Tooltip text.