Difference between revisions of "Stat"
Stratonian (talk | contribs) m (syntax) |
Stratonian (talk | contribs) m (don't check category:passivetalents because Template:Talent info will handle it) |
||
Line 6: | Line 6: | ||
-->{{#ifeq:[[:{{PAGENAME}}|{{PAGENAME}}]]<!-- if the page | -->{{#ifeq:[[:{{PAGENAME}}|{{PAGENAME}}]]<!-- if the page | ||
− | -->|{{#ask: [[Category:Skills]] | + | -->|{{#ask: [[Category:Skills]] [[{{PAGENAME}}]]}}<!-- is in Category:Skills |
-->|{{#set:Has stat={{sc|{{{link|{{{1}}}}}}}}}}<!-- then set 'Has stat' property | -->|{{#set:Has stat={{sc|{{{link|{{{1}}}}}}}}}}<!-- then set 'Has stat' property | ||
-->{{#set:Has stat value={{{2|}}}}}<!-- and set 'Has stat value' property | -->{{#set:Has stat value={{{2|}}}}}<!-- and set 'Has stat value' property | ||
-->}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude> | -->}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude> |
Revision as of 21:26, 11 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>}}