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 7: Line 7:
 
| Obsidian = <span class="sprite-icon pixel" style="background-position: -80px 0;"></span><span class="sprite-text">{{{1}}}</span>
 
| Obsidian = <span class="sprite-icon pixel" style="background-position: -80px 0;"></span><span class="sprite-text">{{{1}}}</span>
 
| Gravel = <span class="sprite-icon pixel" style="background-position: -96px 0;"></span><span class="sprite-text">{{{1}}}</span>
 
| Gravel = <span class="sprite-icon pixel" style="background-position: -96px 0;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Diamond Ore = <span class="sprite-icon pixel" style="background-position: 0 -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Gold Ore = <span class="sprite-icon pixel" style="background-position: -16px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Iron Ore = <span class="sprite-icon pixel" style="background-position: -32px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Coal Ore = <span class="sprite-icon pixel" style="background-position: -48px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Redstone Ore = <span class="sprite-icon pixel" style="background-position: -64px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Odd Rock Ore = <span class="sprite-icon pixel" style="background-position: -80px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Topaz Ore = <span class="sprite-icon pixel" style="background-position: -96px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Lapis Lazuli Ore = <span class="sprite-icon pixel" style="background-position: -112px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Ender Gem Ore = <span class="sprite-icon pixel" style="background-position: -128px -656px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Block of Diamond = <span class="sprite-icon pixel" style="background-position: 0 -32px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Block of Gold = <span class="sprite-icon pixel" style="background-position: -16px -32px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Block of Iron = <span class="sprite-icon pixel" style="background-position: -32px -32px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Block of Coal = <span class="sprite-icon pixel" style="background-position: -48px -32px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Block of Topaz = <span class="sprite-icon pixel" style="background-position: -96px -32px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Lapis Lazuli Block = <span class="sprite-icon pixel" style="background-position: -112px -32px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Torch = <span class="sprite-icon pixel" style="background-position: 0 -48px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Ladder = <span class="sprite-icon pixel" style="background-position: -32px -48px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Rope = <span class="sprite-icon pixel" style="background-position: -48px -48px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Sign = <span class="sprite-icon pixel" style="background-position: -80px -48px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Bed = <span class="sprite-icon pixel" style="background-position: -256px -640px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Crafting Table = <span class="sprite-icon pixel" style="background-position: 0 -64px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Furnace = <span class="sprite-icon pixel" style="background-position: -16px -64px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Chest = <span class="sprite-icon pixel" style="background-position: -48px -64px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Ender Chest = <span class="sprite-icon pixel" style="background-position: -64px -64px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Enchantment Table = <span class="sprite-icon pixel" style="background-position: -256px -688px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Brewing Stand = <span class="sprite-icon pixel" style="background-position: -160px -64px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Cauldron = <span class="sprite-icon pixel" style="background-position: 0 -80px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Anvil = <span class="sprite-icon pixel" style="background-position: -48px -80px;"></span><span class="sprite-text">{{{1}}}</span>
 +
| Dirt = <span class="sprite-icon pixel" style="background-position: 0 -96px;"></span><span class="sprite-text">{{{1}}}</span>
 
<!--| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 
<!--| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 +
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>
 
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>-->
 
| = <span class="sprite-icon pixel" style="background-position: ;"></span><span class="sprite-text">{{{1}}}</span>-->
 
| Wooden Planks = <span class="sprite-icon pixel" style="background-position: 0 -128px;"></span><span class="sprite-text">{{{1}}}</span>
 
| Wooden Planks = <span class="sprite-icon pixel" style="background-position: 0 -128px;"></span><span class="sprite-text">{{{1}}}</span>

Revision as of 09:10, 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