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 169: 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. -->
+
<!-- TODO: Add all Carpets, Balloons, and Dyes versions. -->
 
| Carpets = <span class="sprite-icon pixel" style="background-position: -304px -656px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 
| 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>
 
| Balloons = <span class="sprite-icon pixel" style="background-position: -256px -432px;"></span><span class="sprite-text">{{{2|{{{1}}}}}}</span>
 +
| Dyes = <span class="sprite-icon pixel" style="background-position: -272px -352px;"></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 19:07, 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