Difference between revisions of "Stat"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
Line 13: | Line 13: | ||
-->|{{#set:Has stat={{#vardefineecho:index|{{#expr:{{#var:index|0}}+1}}}}<!-- recursively define stat index | -->|{{#set:Has stat={{#vardefineecho:index|{{#expr:{{#var:index|0}}+1}}}}<!-- recursively define stat index | ||
-->;{{{2|0}}}<!-- define stat value | -->;{{{2|0}}}<!-- define stat value | ||
− | -->;{{#replace:{{sc|{{{link|{{{1}}}}}}}}| | + | -->;{{#replace:{{sc|{{{link|{{{1}}}}}}}}||_}}}}<!-- define stat name and bypass semicolon in ' ' |
-->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | -->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 16:03, 28 August 2023
Description
Displays a stat's icon and name, with a link to the page of the stat.
Usage
{{stat|<Attack Power>|<+123>|<icon=Attack Power.png>|<link=Attack Power>|<nolabel=yes>}}