Difference between revisions of "Template:Icon link"

From Mine Blocks Wiki
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!

(Undo revision 26341 by Tobias Alcaraz (talk))
Tag: Undo
Line 1: Line 1:
[[{{{2|{{{1}}}}}}|[[File:{{{1|Invisible-sprite}}}.png|16x16px|class=item-icon pixel {{{5}}}|link=]]{{Space|nbsp}}{{#if: {{{1|}}}|{{{2|{{{1}}}}}}|{{{3|{{{1}}}}}}}}]]<noinclude>
+
[[File:{{{1|Invisible-sprite}}}.png|16x16px|class=item-icon pixel {{{5}}}|link={{{2|{{{1}}}}}}|{{{4|{{{1}}}}}}]]{{Space|nbsp}}{{#if: {{{1|}}}|[[{{{2|{{{1}}}}}}|{{{3|{{{1}}}}}}]]}}<noinclude>
 
== About ==
 
== 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.
 
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.

Revision as of 11:01, 23 December 2021

{{{1}}} 

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