1,291
edits
(Updated the template to support alt text) |
(allow word-ending links (so {{Stat|Bling}}s can replace {{Stat|Bling|Blings}})) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
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. | 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|1=the stat|2=alt text}} | {{Stat|1=the stat|2=alt text}} | ||
</noinclude> | </noinclude><span style="display:inline;" title={{#switch:{{{2|}}} | ||
<span style="display:inline;" title={{#switch:{{{2|}}} | |||
|Hearts=Health | |Hearts=Health | ||
|HP=Health | |HP=Health | ||
Line 11: | Line 10: | ||
|Mushroom=Shroom | |Mushroom=Shroom | ||
|Reaction=Alert Icon | |Reaction=Alert Icon | ||
|#default={{{1|}}}}}>[[File:{{{1}}}.png| | |#default={{{1|}}}}}>[[File:{{{1}}}.png|x20px|sub|link={{{1}}}]]</span> [[{{{1}}}|{{{2|{{{1}}}}}}]] |
edits