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!

Line 26: Line 26:
 
| Rope = <span class="sprite-icon pixel" style="background-position: -48px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Rope = <span class="sprite-icon pixel" style="background-position: -48px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Sign = <span class="sprite-icon pixel" style="background-position: -80px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Sign = <span class="sprite-icon pixel" style="background-position: -80px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Bed
+
| Bed = <span class="sprite-icon pixel" style="background-position: -256px -640px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| White Bed = <span class="sprite-icon pixel" style="background-position: -256px -640px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| White Bed = <span class="sprite-icon pixel" style="background-position: -256px -640px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Light Gray Bed = <span class="sprite-icon pixel" style="background-position: -272px -640px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Light Gray Bed = <span class="sprite-icon pixel" style="background-position: -272px -640px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 134: Line 134:
 
| Dragon Scale Block = <span class="sprite-icon pixel" style="background-position: -80px -384px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale Block = <span class="sprite-icon pixel" style="background-position: -80px -384px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ender Dragon Egg = <span class="sprite-icon pixel" style="background-position: -96px -384px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ender Dragon Egg = <span class="sprite-icon pixel" style="background-position: -96px -384px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Wool  
+
| Wool = <span class="sprite-icon pixel" style="background-position: 0 -400px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Wools = <span class="sprite-icon pixel" style="background-position: 0 -400px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
 
| White Wool = <span class="sprite-icon pixel" style="background-position: -256px -496px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| White Wool = <span class="sprite-icon pixel" style="background-position: -256px -496px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Light Gray Wool = <span class="sprite-icon pixel" style="background-position: -272px -496px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Light Gray Wool = <span class="sprite-icon pixel" style="background-position: -272px -496px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 537: Line 536:
 
| Apple Juice = <span class="sprite-icon pixel" style="background-position: -352px -416px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Apple Juice = <span class="sprite-icon pixel" style="background-position: -352px -416px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Bottle of Enchanting = <span class="sprite-icon pixel" style="background-position: -368px -416px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Bottle of Enchanting = <span class="sprite-icon pixel" style="background-position: -368px -416px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Ballon
+
| Balloon = <span class="sprite-icon pixel" style="background-position: -256px -432px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Balloons = <span class="sprite-icon pixel" style="background-position: -256px -432px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
 
| White Balloon = <span class="sprite-icon pixel" style="background-position: -256px -544px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| White Balloon = <span class="sprite-icon pixel" style="background-position: -256px -544px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Light Gray Balloon = <span class="sprite-icon pixel" style="background-position: -256px -544px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Light Gray Balloon = <span class="sprite-icon pixel" style="background-position: -256px -544px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>

Revision as of 08:23, 28 December 2021


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