Difference between revisions of "Stat"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m (check if page is in Category:Skills or Category:Passive Talents) |
||
Line 9: | Line 9: | ||
SET PROPERTIES | SET PROPERTIES | ||
− | -->{{# | + | -->{{#if:<!-- if the page |
− | --> | + | -->{{#ask: [[Category:Skills||Passive Talents]] [[{{PAGENAME}}]]}}<!-- is in Category:Skills or Category:Passive Talents |
-->|{{#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}}}}}}}}| |_}}}}<!-- define stat name and bypass semicolon in ' ' | -->;{{#replace:{{sc|{{{link|{{{1}}}}}}}}| |_}}}}<!-- define stat name and bypass semicolon in ' ' | ||
-->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | -->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 20:48, 1 June 2024
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>}}