Template:Add

USAGE
...

This template adds numbers provided in its parameters.

Restrictions: prefix must not be a prefix of the word "prefix", "template" or "suppresserrors". (an empty prefix is a prefix of all. Prefixes "p", "t" and "s" are also out).

EXAMPLES
Example: Add Empty parameters count as 0, parameters not starting with x are not added. If a parameter starting with x contains characters not recognised as numbers by, then will throw an error unless suppresserrors is not empty. If suppresserrors is not empty, then any invalid values will be treated as 0. Example: Add Example: 1 Example: Add Add Results: and
 * Pass parameters with a prefix given in the parameter (needs to not be a prefix of "prefix"), and the template will add them.
 * You can also provide a template that will take the values of the parameters and translate them into numbers. The template specified in will be given one parameter and will be expected to produce a number.
 * If no prefix is given, all parameters are added. This means that you can't provide a template to translate values into numbers.
 * In addition to displaying the result, it also stores it in a variable called . This means that you can use the result of this template in more than one place.