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 22: Line 22:
 
| 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>
| Torch = <span class="sprite-icon pixel" style="background-position: 0 -48px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Torch = <span class="sprite-icon pixel" style="background-position: -256px -448px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ladder = <span class="sprite-icon pixel" style="background-position: -32px -48px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Ladder = <span class="sprite-icon pixel" style="background-position: -32px -48px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Rope = <span class="sprite-icon pixel" style="background-position: -48px -48px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Rope = <span class="sprite-icon pixel" style="background-position: -48px -48px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 69: Line 69:
 
| Lilypad = <span class="sprite-icon pixel" style="background-position: -80px -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>
 
| 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>
+
| Redstone Torch = <span class="sprite-icon pixel" style="background-position: -272px -448px;"></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>
 
| 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>
 
| Lever = <span class="sprite-icon pixel" style="background-position: -144px -192px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
Line 127: Line 127:
 
| Cobweb = <span class="sprite-icon pixel" style="background-position: -144px -368px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Cobweb = <span class="sprite-icon pixel" style="background-position: -144px -368px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Monster Spawner = <span class="sprite-icon pixel" style="background-position: -160px -368px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| Monster Spawner = <span class="sprite-icon pixel" style="background-position: -160px -368px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
| Odd Torch = <span class="sprite-icon pixel" style="background-position: -176px -368px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
+
| Odd Torch = <span class="sprite-icon pixel" style="background-position: -288px -448px;"></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>
 
| 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>
Line 134: Line 134:
 
| 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 and Wool sprites.
+
| Wools = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
TODO: Make the uncolored Glass and Wool sprites. (And a multi-colored Glass sprite).
 
Add all color variants too.
 
Add all color variants too.
 
-->
 
-->
 +
| Glasses
 
| Glass = <span class="sprite-icon pixel" style="background-position: -256px -512px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| 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>
Line 168: Line 169:
 
| 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>
 +
<!-- TODO: Add all carpets and balloons versions. -->
 +
| Carpets = <span class="sprite-icon pixel" style="background-position: -304px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Balloons = <span class="sprite-icon pixel" style="background-position: -256px -432px;"></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>

Revision as of 18: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