Difference between revisions of "Stat/Documentation"

m (outdated error)
Line 10: Line 10:
 
{{parameter|link|The page link.|{{{1}}}}}
 
{{parameter|link|The page link.|{{{1}}}}}
 
{{parameter|label|Determines whether the name of the state is shown.||Set this parameter any value to hide the name.}}
 
{{parameter|label|Determines whether the name of the state is shown.||Set this parameter any value to hide the name.}}
==Errors==
 
'''Invalid icon. Add a name or icon parameter.'''
 

Revision as of 12:00, 15 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>|<label=no>}}

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}}}'.
Arrow.pnglabel: Determines whether the name of the state is shown.
Optional.
Notes: Set this parameter any value to hide the name.