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 36: Line 36:
 
| Anvil = <span class="sprite-icon pixel" style="background-position: -48px -80px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Anvil = <span class="sprite-icon pixel" style="background-position: -48px -80px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Dirt = <span class="sprite-icon pixel" style="background-position: 0 -96px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Dirt = <span class="sprite-icon pixel" style="background-position: 0 -96px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
<!-- | Grass = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
<!--
 +
| Grass = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Coarse Dirt = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Coarse Dirt = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Farmland = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Farmland = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Mycelium = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Mycelium = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Gold Soil = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span> -->
+
| Gold Soil = <span class="sprite-icon pixel" style="background-position: ;"></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>
 +
| Sappling = <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>
 +
-->
 +
| Leaves = <span class="sprite-icon pixel" style="background-position: 0 -160px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
<!--
 +
| Apple in Leaves = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Orange in Leaves = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Golden Apple in Leaves = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Lemon in Leaves= <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
-->
 +
| Apple = <span class="sprite-icon pixel" style="background-position: -16px -160px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Orange = <span class="sprite-icon pixel" style="background-position: -32px -160px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Golden Apple = <span class="sprite-icon pixel" style="background-position: -48px -160px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Lemon = <span class="sprite-icon pixel" style="background-position: -64px -160px;"></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>
 +
| 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>
 +
| Lilypad = <span class="sprite-icon pixel" style="background-position: -80px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Coral Lantern = <span class="sprite-icon pixel" style="background-position: -96px -176px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Redstone Torch = <span class="sprite-icon pixel" style="background-position: -48px -192px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Button = <span class="sprite-icon pixel" style="background-position: -112px -192px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Lever = <span class="sprite-icon pixel" style="background-position: -144px -192px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Pressure Plate = <span class="sprite-icon pixel" style="background-position: -176px -192px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Wooden Pressure Plate= <span class="sprite-icon pixel" style="background-position: -208px -192px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Piston = <span class="sprite-icon pixel" style="background-position: 0 -208px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Sticky Piston = <span class="sprite-icon pixel" style="background-position: -48px -208px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Dispenser = <span class="sprite-icon pixel" style="background-position: -96px -208px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Dropper = <span class="sprite-icon pixel" style="background-position: -112px -208px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Note Block = <span class="sprite-icon pixel" style="background-position: -128px -208px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Redstone Lamp = <span class="sprite-icon pixel" style="background-position: -144px -208px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| TNT = <span class="sprite-icon pixel" style="background-position: -176px -208px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Minecart Rail = <span class="sprite-icon pixel" style="background-position: -256px -336px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Powered Minecart Rail = <span class="sprite-icon pixel" style="background-position: -272px -336px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Activator Minecart Rail = <span class="sprite-icon pixel" style="background-position: -288px -336px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Detector Minecart Rail = <span class="sprite-icon pixel" style="background-position: -304px -336px;"></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 class="sprite-icon pixel" style="background-position: ;"></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 class="sprite-icon pixel" style="background-position: ;"></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 class="sprite-icon pixel" style="background-position: ;"></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 class="sprite-icon pixel" style="background-position: ;"></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 class="sprite-icon pixel" style="background-position: ;"></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 class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 48: Line 97:
 
| = <span class="sprite-icon pixel" style="background-position: ;"></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 class="sprite-icon pixel" style="background-position: ;"></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 class="sprite-icon pixel" style="background-position: ;"></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>
 
 
}}]]</span>}}<noinclude>
 
}}]]</span>}}<noinclude>
  

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