Difference between revisions of "Stat"

(Set property for passive talents)
m (Added 'Has stat value' property)
Line 8: Line 8:
 
-->|{{#ask: [[Category:Skills]] [[{{PAGENAME}}]]}}{{#ask: [[Category:Passive talents]]  [[{{PAGENAME}}]]}}<!-- is in Category:Skills or Category:Passive talents
 
-->|{{#ask: [[Category:Skills]] [[{{PAGENAME}}]]}}{{#ask: [[Category:Passive talents]]  [[{{PAGENAME}}]]}}<!-- is in Category:Skills or Category:Passive talents
 
-->|{{#set:Has stat={{ucfirst:{{lc:{{{1}}}}}}}}}<!-- then set 'Has stat' property
 
-->|{{#set:Has stat={{ucfirst:{{lc:{{{1}}}}}}}}}<!-- then set 'Has stat' property
 +
-->{{#stat:Has stat value={{{2}}}}}<!-- and set 'Has stat value' property
 
-->}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude>
 
-->}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude>

Revision as of 18:00, 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>}}

Parameters

Arrow.png1: The name of the stat.
Required.
Arrow.png2: The value of the stat.
Optional.
Arrow.pngicon: The stat's icon.
Optional. Defaults to '{{{1}}}_Icon.png'.
Arrow.pnglink: The page link.
Optional. Defaults to '{{{1}}}'.
Notes: If set to 'no', label will be plaintext.
Arrow.pngnolabel: Determines whether the name of the stat is shown.
Optional.
Notes: Set this parameter any value to hide label text.