Template:Stat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Updated the template to support alt text) |
||
Line 2: | Line 2: | ||
==Usage== | ==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. | 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|1=the stat|2=alt text}} | ||
</noinclude> | </noinclude> | ||
<span style="display:inline;" title={{#switch:{{{2|}}} | <span style="display:inline;" title={{#switch:{{{2|}}} |
Revision as of 23:32, 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}}}]]