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 170: | Line 170: | ||
<!--| Rainbow Wool Backdrop = <span class="sprite-icon pixel" style="background-position: -704px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>--> | <!--| Rainbow Wool Backdrop = <span class="sprite-icon pixel" style="background-position: -704px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span>--> | ||
| Glass = <span class="sprite-icon pixel" style="background-position: -256px -512px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | | Glass = <span class="sprite-icon pixel" style="background-position: -256px -512px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | ||
− | |||
| White Glass = <span class="sprite-icon pixel" style="background-position: -256px -512px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | | White Glass = <span class="sprite-icon pixel" style="background-position: -256px -512px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | ||
| Light Gray Glass = <span class="sprite-icon pixel" style="background-position: -272px -512px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> | | Light Gray Glass = <span class="sprite-icon pixel" style="background-position: -272px -512px;"></span><span class="sprite-text">{{{3|{{{1}}}}}}</span> |
Revision as of 08:34, 28 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
{{Icon link|Wooden Planks}}
→ Wooden Planks