Template:Icon link

From Mine Blocks Wiki
Revision as of 20:47, 18 December 2021 by Tobias Alcaraz (talk | contribs) (Created page with "[[File:{{{1|Invisible-sprite}}}.png|16x16px|class=item-icon pixel {{{4}}}|link={{{2|{{{1}}}}}}|{{{3|{{{1}}}}}}]] {{#if: {{{1|}}}|[[{{{1|}}}]]}}<noinclude> == About == This tem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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!

{{{1}}}

About

This templated (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 {{I|<name>|<link>?|<tooltip-text>?|<class>?}}</nowiki>. All parameters default to the first one if those are not specified.

Examples

  • {{I|Wooden Planks}}</nowiki>Wooden Planks
  • {{I|Wooden Planks|Cow}}</nowiki>Wooden Planks
  • {{I|Wooden Planks|Cow|Tooltip text.}}</nowiki>Tooltip text.