Template:Stat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="display:inline;" title={{#switch:{{{ | <noinclude> | ||
==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. | |||
{{Stat|stat=the stat|alt=alt text}} | |||
</noinclude> | |||
<span style="display:inline;" title={{#switch:{{{alt|}}} | |||
|Hearts=Health | |Hearts=Health | ||
|HP=Health | |HP=Health | ||
Line 6: | Line 12: | ||
|Mushroom=Shroom | |Mushroom=Shroom | ||
|Reaction=Alert Icon | |Reaction=Alert Icon | ||
|#default={{{ | |#default={{{stat|}}}}}>[[File:{{{stat}}}.png|20px|sub|link={{{stat}}}}]] [[{{{stat}}}|{{{alt|{{{stat}}}}}}]]</span> |
Revision as of 23:06, 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:{{{stat}}}.png|20px|sub|link={{{stat}}}}]] [[{{{stat}}}|{{{stat}}}]]