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 16: Line 16:
 
| Lapis Lazuli Ore = <span class="sprite-icon pixel" style="background-position: -112px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Lapis Lazuli Ore = <span class="sprite-icon pixel" style="background-position: -112px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ender Gem Ore = <span class="sprite-icon pixel" style="background-position: -128px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ender Gem Ore = <span class="sprite-icon pixel" style="background-position: -128px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Block of Diamond = <span class="sprite-icon pixel" style="background-position: 0 -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Diamond Block = <span class="sprite-icon pixel" style="background-position: 0 -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Block of Gold = <span class="sprite-icon pixel" style="background-position: -16px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Gold Block = <span class="sprite-icon pixel" style="background-position: -16px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Block of Iron = <span class="sprite-icon pixel" style="background-position: -32px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Iron Block = <span class="sprite-icon pixel" style="background-position: -32px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Block of Coal = <span class="sprite-icon pixel" style="background-position: -48px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Coal Block = <span class="sprite-icon pixel" style="background-position: -48px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Block of Topaz = <span class="sprite-icon pixel" style="background-position: -96px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Block of Topaz = <span class="sprite-icon pixel" style="background-position: -96px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Lapis Lazuli Block = <span class="sprite-icon pixel" style="background-position: -112px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Lapis Lazuli Block = <span class="sprite-icon pixel" style="background-position: -112px -32px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 45: Line 45:
 
| Wood = <span class="sprite-icon pixel" style="background-position: 0 -112px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Wood = <span class="sprite-icon pixel" style="background-position: 0 -112px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Wooden Planks = <span class="sprite-icon pixel" style="background-position: 0 -128px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Wooden Planks = <span class="sprite-icon pixel" style="background-position: 0 -128px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Sappling = <span class="sprite-icon pixel" style="background-position: 0 -144px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Sapling = <span class="sprite-icon pixel" style="background-position: 0 -144px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
<!--
 
<!--
| Golden Sappling = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Golden Sapling = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
-->
 
-->
 
| Leaves = <span class="sprite-icon pixel" style="background-position: 0 -160px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Leaves = <span class="sprite-icon pixel" style="background-position: 0 -160px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 62: Line 62:
 
| Snow Block = <span class="sprite-icon pixel" style="background-position: -16px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Snow Block = <span class="sprite-icon pixel" style="background-position: -16px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ice = <span class="sprite-icon pixel" style="background-position: -32px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ice = <span class="sprite-icon pixel" style="background-position: -32px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
<!--
 +
| Frosted Ice = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
-->
 
| Seaweed = <span class="sprite-icon pixel" style="background-position: -48px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Seaweed = <span class="sprite-icon pixel" style="background-position: -48px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Coral = <span class="sprite-icon pixel" style="background-position: -64px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Coral = <span class="sprite-icon pixel" style="background-position: -64px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 127: Line 130:
 
| Portal Frame = <span class="sprite-icon pixel" style="background-position: 0 -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Portal Frame = <span class="sprite-icon pixel" style="background-position: 0 -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Filled Portal Frame = <span class="sprite-icon pixel" style="background-position: -16px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Filled Portal Frame = <span class="sprite-icon pixel" style="background-position: -16px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Endstone = <span class="sprite-icon pixel" style="background-position: -32px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Enderstone = <span class="sprite-icon pixel" style="background-position: -32px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Healing Crystal = <span class="sprite-icon pixel" style="background-position: -64px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Healing Crystal = <span class="sprite-icon pixel" style="background-position: -64px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Dragon Scale Block = <span class="sprite-icon pixel" style="background-position: -80px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Dragon Scale Block = <span class="sprite-icon pixel" style="background-position: -80px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ender Dragon Egg = <span class="sprite-icon pixel" style="background-position: -96px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ender Dragon Egg = <span class="sprite-icon pixel" style="background-position: -96px -384px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Wools
 
| Wool = <span class="sprite-icon pixel" style="background-position: 0 -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Wool = <span class="sprite-icon pixel" style="background-position: 0 -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
<!--
 
<!--
TODO: Make the uncolored Glass sprite.
+
TODO: Make the uncolored Glass and Wool sprites.
| Glass = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
Add all color variants too.
 
-->
 
-->
 +
| Glass = <span class="sprite-icon pixel" style="background-position: -256px -512px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Bamboo Block = <span class="sprite-icon pixel" style="background-position: -48px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Bamboo Block = <span class="sprite-icon pixel" style="background-position: -48px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Bookshelf = <span class="sprite-icon pixel" style="background-position: -64px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Bookshelf = <span class="sprite-icon pixel" style="background-position: -64px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
<!-- TODO: Add all Stairs. -->
 +
| Stairs = <span class="sprite-icon pixel" style="background-position: -272px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
<!-- TODO: Add all Slabs. -->
 +
| Slabs = <span class="sprite-icon pixel" style="background-position: -288px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Slime Block = <span class="sprite-icon pixel" style="background-position: -80px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Slime Block = <span class="sprite-icon pixel" style="background-position: -80px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Lemon Block = <span class="sprite-icon pixel" style="background-position: -96px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Lemon Block = <span class="sprite-icon pixel" style="background-position: -96px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 152: Line 161:
 
| Cake = <span class="sprite-icon pixel" style="background-position: 0 -464px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Cake = <span class="sprite-icon pixel" style="background-position: 0 -464px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Cactus Cake = <span class="sprite-icon pixel" style="background-position: 0 -480px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Cactus Cake = <span class="sprite-icon pixel" style="background-position: 0 -480px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Netherrack = <span class="sprite-icon pixel" style="background-position: -240px -512px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Nether Wart Block = <span class="sprite-icon pixel" style="background-position: -240px -512px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Melon = <span class="sprite-icon pixel" style="background-position: -112px -528px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Melon = <span class="sprite-icon pixel" style="background-position: -112px -528px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Water = <span class="sprite-icon pixel" style="background-position: 0 -544px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Water = <span class="sprite-icon pixel" style="background-position: 0 -544px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 159: Line 168:
 
| Magma Block = <span class="sprite-icon pixel" style="background-position: 0 -608px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Magma Block = <span class="sprite-icon pixel" style="background-position: 0 -608px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Fire = <span class="sprite-icon pixel" style="background-position: -64px -608px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Fire = <span class="sprite-icon pixel" style="background-position: -64px -608px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
<!--
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
-->
 
}}]]</span>}}<noinclude>
 
}}]]</span>}}<noinclude>
  

Revision as of 17:41, 25 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