Difference between revisions of "Stat/Documentation"

m (→‎Parameters: Documentation update for clarity)
m (→‎Usage: Made example make sense)
Line 9: Line 9:
  
 
==Usage==
 
==Usage==
<pre>{{stat|Attack.png|Attack|Attack}}</pre>
+
<pre>{{stat|Attack Power.png|Attack Power|Attack Power}}</pre>

Revision as of 18:34, 15 February 2023

Description

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

Parameters

icon: The stat's icon.

name: The name of the stat. Functions as both the name of the article to be linked and the text displayed next to the icon.

alt: Optional. Replaces the text to be displayed next to the icon.

Usage

{{stat|Attack Power.png|Attack Power|Attack Power}}