Difference between revisions of "Stat/Documentation"

 
Line 2: Line 2:
 
Displays a stat's icon and name, with a link to the page of the stat.
 
Displays a stat's icon and name, with a link to the page of the stat.
 
==Usage==
 
==Usage==
{{T|stat|Attack Power|+123|icon{{=}}Attack Power.png|link{{=}}Attack Power|label{{=}}no}}
+
{{T|stat|Attack Power|+123|icon{{=}}Attack Power.png|link{{=}}Attack Power|nolabel{{=}}yes}}
  
 
==Parameters==
 
==Parameters==

Latest revision as of 15:49, 19 August 2023

Description[edit]

Displays a stat's icon and name, with a link to the page of the stat.

Usage[edit]

{{stat|<Attack Power>|<+123>|<icon=Attack Power.png>|<link=Attack Power>|<nolabel=yes>}}

Parameters[edit]

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.