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!

m
Line 376: Line 376:
 
| Shades = <span class="sprite-icon pixel" style="background-position: -304px -208px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Shades = <span class="sprite-icon pixel" style="background-position: -304px -208px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Mustache = <span class="sprite-icon pixel" style="background-position: -320px -208px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Mustache = <span class="sprite-icon pixel" style="background-position: -320px -208px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Equiped Shades = <span class="sprite-icon pixel" style="background-position: -336px -208px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> -->
+
| Equiped Shades = <span class="sprite-icon pixel" style="background-position: -336px -208px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Egg = <span class="sprite-icon pixel" style="background-position: -256px -224px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Egg = <span class="sprite-icon pixel" style="background-position: -256px -224px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Fire Egg = <span class="sprite-icon pixel" style="background-position: -272px -224px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Fire Egg = <span class="sprite-icon pixel" style="background-position: -272px -224px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 448: Line 448:
 
| Ender Pearl = <span class="sprite-icon pixel" style="background-position: -464px -288px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ender Pearl = <span class="sprite-icon pixel" style="background-position: -464px -288px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Eye of Ender = <span class="sprite-icon pixel" style="background-position: -480px -288px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Eye of Ender = <span class="sprite-icon pixel" style="background-position: -480px -288px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Teleporter = <span class="sprite-icon pixel" style="background-position: -496px -288px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> -->
+
| Teleporter = <span class="sprite-icon pixel" style="background-position: -496px -288px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ghast Tear = <span class="sprite-icon pixel" style="background-position: -256px -304px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ghast Tear = <span class="sprite-icon pixel" style="background-position: -256px -304px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale = <span class="sprite-icon pixel" style="background-position: -272px -304px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale = <span class="sprite-icon pixel" style="background-position: -272px -304px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>

Revision as of 12:27, 2 January 2022


About

This template 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 {{Icon link|<name>|<link>|<displayed-name>?|<tooltip-text>?|<class>?}}. All parameters default to the first one if those are not specified.

Examples