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!

(Forgot some items.)
(Also made heads a bit bigger.)
Line 239: Line 239:
 
| J = <span class="sprite-icon pixel" style="background-position: 0 -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| J = <span class="sprite-icon pixel" style="background-position: 0 -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Barrier = <span class="sprite-icon pixel" style="background-position: -16px -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Barrier = <span class="sprite-icon pixel" style="background-position: -16px -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Zombie Head = <span class="sprite-icon pixel" style="background-position: -32px -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
+
| Zombie Head = <span class="sprite-icon pixel" style="background-position: -16px -672px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Skeleton Head = <span class="sprite-icon pixel" style="background-position: -48px -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
+
| Skeleton Head = <span class="sprite-icon pixel" style="background-position: -32px -672px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Creeper Head = <span class="sprite-icon pixel" style="background-position: -64px -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
+
| Creeper Head = <span class="sprite-icon pixel" style="background-position: -64px -672px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ender Dragon Head = <span class="sprite-icon pixel" style="background-position: 0 -672px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Ender Dragon Head = <span class="sprite-icon pixel" style="background-position: 0 -672px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
| Mob Head = <span class="sprite-icon pixel" style="background-position: -144px -448px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
+
| Mob Head = <span class="sprite-icon pixel" style="background-position: -48px -672px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Cake = <span class="sprite-icon pixel" style="background-position: 0 -464px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Cake = <span class="sprite-icon pixel" style="background-position: 0 -464px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Cactus Cake = <span class="sprite-icon pixel" style="background-position: 0 -480px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>
 
| Cactus Cake = <span class="sprite-icon pixel" style="background-position: 0 -480px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>

Revision as of 23:32, 27 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