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 95: Line 95:
 
| Fence Gates = <span class="sprite-icon pixel" style="background-position: -32px -688px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Fence Gates = <span class="sprite-icon pixel" style="background-position: -32px -688px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Long Grass= <span class="sprite-icon pixel" style="background-position: 0 -320px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Long Grass= <span class="sprite-icon pixel" style="background-position: 0 -320px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
<!-- TODO: Make Shrub and Dry Shrub into a single sprite. -->
 
| Shrub = <span class="sprite-icon pixel" style="background-position: -16px -320px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Shrub = <span class="sprite-icon pixel" style="background-position: -16px -320px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Dry Shrub = <span class="sprite-icon pixel" style="background-position: -32px -320px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Dry Shrub = <span class="sprite-icon pixel" style="background-position: -32px -320px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 132: Line 133:
 
| 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.
 
| Glass = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Glass = <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>
+
| Bamboo Block = <span class="sprite-icon pixel" style="background-position: -48px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| = <span class="sprite-icon pixel" style="background-position: ;"></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>
| = <span class="sprite-icon pixel" style="background-position: ;"></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>
 +
| Hay Bale = <span class="sprite-icon pixel" style="background-position: -112px -400px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Pumpkin = <span class="sprite-icon pixel" style="background-position: -112px -416px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Jack-o'-Lantern = <span class="sprite-icon pixel" style="background-position: -128px -416px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| J = <span class="sprite-icon pixel" style="background-position: 0 -448px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Barrier = <span class="sprite-icon pixel" style="background-position: -16px -448px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Zombie Head = <span class="sprite-icon pixel" style="background-position: -32px -448px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Skeleton Head = <span class="sprite-icon pixel" style="background-position: -48px -448px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Creeper Head = <span class="sprite-icon pixel" style="background-position: -64px -448px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Ender Dragon Head = <span class="sprite-icon pixel" style="background-position: 0 -672px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Mob Head = <span class="sprite-icon pixel" style="background-position: -144px -448px;"></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>
 +
| Netherrack = <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>
 +
| Water = <span class="sprite-icon pixel" style="background-position: 0 -544px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Lava = <span class="sprite-icon pixel" style="background-position: -64px -544px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Acid = <span class="sprite-icon pixel" style="background-position: -128px -544px;"></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>
 
}}]]</span>}}<noinclude>
 
}}]]</span>}}<noinclude>
  

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