Difference between revisions of "Stat/Documentation"
Stratonian (talk | contribs) (Added documentation page) |
Stratonian (talk | contribs) m (→Parameters: Documentation update for clarity) |
||
Line 4: | Line 4: | ||
{{bullet}} '''icon''': The stat's icon. | {{bullet}} '''icon''': The stat's icon. | ||
− | {{bullet}} '''name''': The name of the stat. | + | {{bullet}} '''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. |
+ | |||
+ | {{bullet}} '''alt''': Optional. Replaces the text to be displayed next to the icon. | ||
− | |||
==Usage== | ==Usage== | ||
<pre>{{stat|Attack.png|Attack|Attack}}</pre> | <pre>{{stat|Attack.png|Attack|Attack}}</pre> |
Revision as of 18:10, 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.png|Attack|Attack}}