Module:Pet/Data/doc/Abilities

Abilities field contains a table with the pet abilities. That table contains other fields described below. Name field is a table containing names of abilities. The layout is following:
 * -|Name=

Note that the [n] entry records for the n-th ability.

Strings are all required and case sensitive. If a pet has number of abilities different than 3, just add or remove a line.

Description field is a table containing main descriptions of abilities. The layout is following:
 * -|Description=

Note that the [n] entry records for the n-th ability.

Strings are all required and case sensitive. If a pet has number of abilities different than 3, just add or remove a line.
 * Inserting variables
 * A line of tooltip may contain variables that change every level (some may be rounded). Place where they should be located are marked using $($n$)$, where n can be from 0 to 99. It is recommended to start your variables at {0}, then {1}, {2} and so on. Variable indexes are shared throughout the whole pet, so if a number is used, please use the next available number. See Variables tab for the method of setting their values.


 * Inserting stat names
 * Some ability descriptions may contain some uses of Statname. Those can be marked with STAT_ALIAS or STATs_ALIAS (for short stats) where ALIAS is the proper alias for each stat (every stat is supported, see Statname for further reference). Must be uppercase.


 * Inserting colors
 * Some abilities may contain colored text. This can be formatted using tags similar to HTML/XML tags, but uppercase. Example: ... (... can be replaced with anything). Every color is supported. Must be uppercase.


 * Inserting coins
 * A few abilities may contain the Coins template. It can be inserted by typing COINS in the description. Must be uppercase.

Tooltips field is similar to Description field - it is a table containing tooltip lines for abilities. The layout is as follows:
 * -|Tooltips=

Note that the [n] entry records for the n-th ability.

It is recommended to copy relevant ability strings from the tooltip output of wikitools, then insert variables if needed. If a pet has number of abilities different than 3, just add or remove a line.
 * Inserting variables
 * A line of tooltip may contain variables that change every level (some may be rounded). Place where they should be located are marked using {n}, where n can be from 0 to 99. It is recommended to start your variables at {0}, then {1}, {2} and so on. Variable indexes are shared throughout the whole pet, so if a number is used, please use the next available number. See Variables tab for the method of setting their values.

Bonus Description field is a table containing bonus description (the one in the bottom cell of the table). Each field should only be used if the ability description contains a variable. The layout is following:
 * -|Bonus Description=

Note that the [n] entry records for the n-th ability.

Strings are all required and case sensitive. If a pet has number of abilities different than 3, just add or remove a line.

If an ability description doesn't contain a variable, set the proper value to nil (not "nil"!) to avoid confusion when editing (to mark that the field should be empty and is not accidentally deleted). After this, the bonus description will be set to the default one (no leveling bonus)