Template:Stat: Difference between revisions

From Wildfrost Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
</noinclude>
</noinclude>


<span style="display:inline;" title={{#switch:{{{alt|}}}
<span style="display:inline;" title={{#switch:{{{2|}}}
           |Hearts=Health
           |Hearts=Health
           |HP=Health
           |HP=Health
Line 12: Line 12:
           |Mushroom=Shroom
           |Mushroom=Shroom
           |Reaction=Alert Icon
           |Reaction=Alert Icon
           |#default={{{stat|}}}}}>[[File:{{{stat}}}.png|20px|sub|link={{{stat}}}}]] [[{{{stat}}}|{{{alt|{{{stat}}}}}}]]</span>
           |#default={{{1|}}}}}>[[File:{{{1}}}.png|20px|sub|link={{{1}}}}]] [[{{{1}}}|{{{2|{{{1}}}}}}]]</span>

Revision as of 23:07, 4 February 2024

Usage

This template is used for Stats, displaying the stat's icon and providing a link to its page. The first parameter is the stat, and the second (optional) parameter is alt text.


[[File:{{{1}}}.png|20px|sub|link={{{1}}}}]] [[{{{1}}}|{{{1}}}]]


[[File:{{{1}}}.png|20px|sub|link={{{1}}}}]] [[{{{1}}}|{{{1}}}]]