Thread:JoetjeF/@comment-5496857-20150123163958/@comment-3083005-20150123183531

It just trial and error, I usually copy an existing entry and give it a temporary name and then test it.

But if you take poison as example:

|poison=


 * poison is the name of the function (ie called using
 * uses two values, the first one is the text displayed on screen (Poison x%) and the second the tooltip displayed when hovering over the text
 * where 2 means the second variable and 0 is the default value if there is no second variable. So returns 15 for  and  returns 0 for

Another example: |atrshield=

If you want to display the percentage you could change it to: |atrshield=

You use to set 50% as default so you don't need to change existing battles.

Does that help a bit?