Template:XP tables/doc

This templates provides a wrapper for XP tables. By giving a base XP/hr and bonuses, it will produce the bonus xp effects per hour for each bonus, and also calculate a maximum value based on the given xp rate.

Defining bonuses
Bonuses are defined using a special syntax that defines 3 or 4 variables:


 * is the name displayed by the table
 * is the value of the bonus, as a percentage (or a constant, see below)
 * is the order in which this will be calculated with other bonuses; lower numbers are calculated earlier
 * if set to "CONSTANT", this tells the module to use  as a raw value instead of a percentage
 * e.g., if a value of 6 is defined as a constant, it means 6 experience is added directly, instead of 6% of the base

Wrapping
Not every bonus experience effect works on every action. As such, it is recommended to categorise actions by skill, and use disabling parameters to block use on a case-by-case basis.

For example, if we have a Sailing that has 3 bonuses: bxp, an outfit, and potion, we can create a template called "Sailing XP chart":

We can then use this on any page that we categorised under the "Sailing" skill. If a certain action is affect by the potion and the outfit, but not by BXP, then we can disable that bonus on that action's article as such: