Template:EnemyAttributes/doc
< Template:EnemyAttributes
Jump to navigation
Jump to search
Revision as of 12:09, 17 July 2023 by Psojed (talk | contribs) (Created page with "{{Doc/start}} This template can be used to return an Enemy's attributes. It loads a given enemy's data from the respective Enemy data page and returns the selected attribute value. Template requires at least one parameter - the attribute to return. *STR *AGL *PRC *VIT *WIL If you don't specify an attribute (or input something else), the template will always return zero. Examples: ==Enemy Pages== <nowiki> {{EnemyAttributes|AGL}}</nowiki> On Ringleader_(...")
Documentation
[purge]
This template can be used to return an Enemy's attributes. It loads a given enemy's data from the respective Enemy data page and returns the selected attribute value.
Template requires at least one parameter - the attribute to return.
- STR
- AGL
- PRC
- VIT
- WIL
If you don't specify an attribute (or input something else), the template will always return zero.
Examples:
Enemy Pages
{{EnemyAttributes|AGL}}
On Ringleader_(Sword) page, returns the Agility of the Ringleader.
Outside of Enemy Pages
If you are on a wikipage that isn't an enemy page, the template also returns zero.
{{EnemyAttributes|AGL}}
0
You can specify a wikipage name of an enemy to load attributes from that enemy, for example:
{{EnemyAttributes|AGL|Ringleader (Sword)}}
This will return the Agility of Ringleader_(Sword).
20