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 296: Line 296:
 
| Ender Gem = <span class="sprite-icon pixel" style="background-position: -400px 0;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ender Gem = <span class="sprite-icon pixel" style="background-position: -400px 0;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Flint = <span class="sprite-icon pixel" style="background-position: -416px 0;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Flint = <span class="sprite-icon pixel" style="background-position: -416px 0;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Pickaxe = <span class="sprite-icon pixel" style="background-position: -288px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Pickaxe = <span class="sprite-icon pixel" style="background-position: -256px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Pickaxe = <span class="sprite-icon pixel" style="background-position: -256px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Pickaxe = <span class="sprite-icon pixel" style="background-position: -272px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Pickaxe = <span class="sprite-icon pixel" style="background-position: -272px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 302: Line 303:
 
| Diamond Pickaxe = <span class="sprite-icon pixel" style="background-position: -320px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Pickaxe = <span class="sprite-icon pixel" style="background-position: -320px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Obsidian Pickaxe = <span class="sprite-icon pixel" style="background-position: -336px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Obsidian Pickaxe = <span class="sprite-icon pixel" style="background-position: -336px -16px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Sword = <span class="sprite-icon pixel" style="background-position: -288px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Sword = <span class="sprite-icon pixel" style="background-position: -256px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Sword = <span class="sprite-icon pixel" style="background-position: -256px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Sword = <span class="sprite-icon pixel" style="background-position: -272px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Sword = <span class="sprite-icon pixel" style="background-position: -272px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 307: Line 309:
 
| Gold Sword = <span class="sprite-icon pixel" style="background-position: -304px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Gold Sword = <span class="sprite-icon pixel" style="background-position: -304px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Sword = <span class="sprite-icon pixel" style="background-position: -320px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Sword = <span class="sprite-icon pixel" style="background-position: -320px -32px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Axe = <span class="sprite-icon pixel" style="background-position: -288px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Axe = <span class="sprite-icon pixel" style="background-position: -256px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Axe = <span class="sprite-icon pixel" style="background-position: -256px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Axe = <span class="sprite-icon pixel" style="background-position: -272px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Axe = <span class="sprite-icon pixel" style="background-position: -272px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 312: Line 315:
 
| Gold Axe = <span class="sprite-icon pixel" style="background-position: -304px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Gold Axe = <span class="sprite-icon pixel" style="background-position: -304px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Axe = <span class="sprite-icon pixel" style="background-position: -320px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Axe = <span class="sprite-icon pixel" style="background-position: -320px -48px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Shovel = <span class="sprite-icon pixel" style="background-position: -288px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Shovel = <span class="sprite-icon pixel" style="background-position: -256px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Shovel = <span class="sprite-icon pixel" style="background-position: -256px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Shovel = <span class="sprite-icon pixel" style="background-position: -272px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Shovel = <span class="sprite-icon pixel" style="background-position: -272px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 317: Line 321:
 
| Gold Shovel = <span class="sprite-icon pixel" style="background-position: -304px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Gold Shovel = <span class="sprite-icon pixel" style="background-position: -304px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Shovel = <span class="sprite-icon pixel" style="background-position: -320px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Shovel = <span class="sprite-icon pixel" style="background-position: -320px -64px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Hoe = <span class="sprite-icon pixel" style="background-position: -288px -80px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Hoe = <span class="sprite-icon pixel" style="background-position: -256px -80px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Wooden Hoe = <span class="sprite-icon pixel" style="background-position: -256px -80px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Hoe = <span class="sprite-icon pixel" style="background-position: -272px -80px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Stone Hoe = <span class="sprite-icon pixel" style="background-position: -272px -80px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 340: Line 345:
 
| Bucket of Lava = <span class="sprite-icon pixel" style="background-position: -304px -128px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Bucket of Lava = <span class="sprite-icon pixel" style="background-position: -304px -128px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Bucket of Milk = <span class="sprite-icon pixel" style="background-position: -320px -128px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Bucket of Milk = <span class="sprite-icon pixel" style="background-position: -320px -128px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Helmet = <span class="sprite-icon pixel" style="background-position: -288px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Cap = <span class="sprite-icon pixel" style="background-position: -256px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Cap = <span class="sprite-icon pixel" style="background-position: -256px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Helmet = <span class="sprite-icon pixel" style="background-position: -272px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Helmet = <span class="sprite-icon pixel" style="background-position: -272px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 346: Line 352:
 
| Diamond Helmet = <span class="sprite-icon pixel" style="background-position: -320px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Helmet = <span class="sprite-icon pixel" style="background-position: -320px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale Helmet = <span class="sprite-icon pixel" style="background-position: -336px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale Helmet = <span class="sprite-icon pixel" style="background-position: -336px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Chestplate = <span class="sprite-icon pixel" style="background-position: -288px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Tunic = <span class="sprite-icon pixel" style="background-position: -256px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Tunic = <span class="sprite-icon pixel" style="background-position: -256px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Chestplate = <span class="sprite-icon pixel" style="background-position: -272px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Chestplate = <span class="sprite-icon pixel" style="background-position: -272px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 352: Line 359:
 
| Diamond Chestplate = <span class="sprite-icon pixel" style="background-position: -320px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Chestplate = <span class="sprite-icon pixel" style="background-position: -320px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale Chestplate = <span class="sprite-icon pixel" style="background-position: -336px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale Chestplate = <span class="sprite-icon pixel" style="background-position: -336px -752px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Leggings = <span class="sprite-icon pixel" style="background-position: -288px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Pants = <span class="sprite-icon pixel" style="background-position: -256px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Pants = <span class="sprite-icon pixel" style="background-position: -256px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Leggings = <span class="sprite-icon pixel" style="background-position: -272px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Leggings = <span class="sprite-icon pixel" style="background-position: -272px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 358: Line 366:
 
| Diamond Leggings = <span class="sprite-icon pixel" style="background-position: -320px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Diamond Leggings = <span class="sprite-icon pixel" style="background-position: -320px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale Leggings = <span class="sprite-icon pixel" style="background-position: -336px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Dragon Scale Leggings = <span class="sprite-icon pixel" style="background-position: -336px -768px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Boots = <span class="sprite-icon pixel" style="background-position: -288px -784px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Boots = <span class="sprite-icon pixel" style="background-position: -256px -784px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Leather Boots = <span class="sprite-icon pixel" style="background-position: -256px -784px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Boots = <span class="sprite-icon pixel" style="background-position: -272px -784px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Chain Boots = <span class="sprite-icon pixel" style="background-position: -272px -784px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 496: Line 505:
 
| Empty Bottle = <span class="sprite-icon pixel" style="background-position: -256px -416px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Empty Bottle = <span class="sprite-icon pixel" style="background-position: -256px -416px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Bottle of Water = <span class="sprite-icon pixel" style="background-position: -256px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Bottle of Water = <span class="sprite-icon pixel" style="background-position: -256px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Potion = <span class="sprite-icon pixel" style="background-position: -272px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Healing Potion = <span class="sprite-icon pixel" style="background-position: -272px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Healing Potion = <span class="sprite-icon pixel" style="background-position: -272px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Harming Potion = <span class="sprite-icon pixel" style="background-position: -288px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Harming Potion = <span class="sprite-icon pixel" style="background-position: -288px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
Line 509: Line 519:
 
| Invisibility Potion = <span class="sprite-icon pixel" style="background-position: -448px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Invisibility Potion = <span class="sprite-icon pixel" style="background-position: -448px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Night Vision Potion = <span class="sprite-icon pixel" style="background-position: -464px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Night Vision Potion = <span class="sprite-icon pixel" style="background-position: -464px -576px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 +
| Splash Potion = <span class="sprite-icon pixel" style="background-position: -256px -592px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Splash Healing Potion = <span class="sprite-icon pixel" style="background-position: -256px -592px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Splash Healing Potion = <span class="sprite-icon pixel" style="background-position: -256px -592px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Splash Harming Potion = <span class="sprite-icon pixel" style="background-position: -272px -592px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Splash Harming Potion = <span class="sprite-icon pixel" style="background-position: -272px -592px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>

Revision as of 08:11, 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