Template:EnemyAttributes

From Stoneshard wiki
Jump to navigation Jump to search
Template-info.png Documentation

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