Difference between revisions of "Template:Icon link"
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!
m |
|||
Line 331: | Line 331: | ||
| Clock = <span class="sprite-icon pixel" style="background-position: -80px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | | Clock = <span class="sprite-icon pixel" style="background-position: -80px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | ||
| Compass = <span class="sprite-icon pixel" style="background-position: -96px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | | Compass = <span class="sprite-icon pixel" style="background-position: -96px -736px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | ||
− | | Scepter Stone = <span class="sprite-icon pixel" style="background-position: - | + | | Scepter Stone = <span class="sprite-icon pixel" style="background-position: -416px -96px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> |
− | | Scepter = <span class="sprite-icon pixel" style="background-position: - | + | | Scepter = <span class="sprite-icon pixel" style="background-position: -400px -96px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> |
| Bow = <span class="sprite-icon pixel" style="background-position: -256px -112px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | | Bow = <span class="sprite-icon pixel" style="background-position: -256px -112px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | ||
| Arrow = <span class="sprite-icon pixel" style="background-position: -320px -112px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | | Arrow = <span class="sprite-icon pixel" style="background-position: -320px -112px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> |
Latest revision as of 12:37, 2 January 2022
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
{{Icon link|Wooden Planks}}
→ Wooden Planks