Template:I
Revision as of 07:46, 3 January 2022 by Tobias Alcaraz (talk | contribs)
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 templated (named I as a shortcut for icon) serves as an easy method to add icon sprites into a page or anywhere else using a single, standarized format.
Usage
The syntax of the template is {{I|<file-name>|<item-link>?|<tooltip-text>?|<class>?}}</nowiki>
. All parameters default to the first one if those are not specified.
Examples
{{I|Wooden Planks}}</nowiki>
→{{I|Wooden Planks|Cow}}</nowiki>
→{{I|Wooden Planks|Cow|Tooltip text.}}</nowiki>
→
{{I | animated = true | name1 = Wooden sword | name2 = Stone sword | name3 = Golden sword | name4 = Iron sword | name5 = Diamond sword | name6 = Wooden axe | name7 = Stone axe | name8 = Golden axe | name9 = Iron axe | name10 = Diamond axe | name11 = Wooden shovel | name12 = Stone shovel | name13 = Golden shovel | name14 = Iron shovel | name15 = Diamond shovel | name16 = Diamond hoe }}