Template:XP/Between

Template documentation
This documentation is transcluded from Template:XP/Between/doc. [edit] [history] [purge]
Template:XP/Between invokes function between in Module:Experience using Lua.

Total experience points needed to, starting from a specified level, reach another level.

This value is suitable for calculations (i.e., it has no commas). Use {{formatnum:{{XP/Between|...}}}} to display the value.

Examples

{{XP/Between|0|1}} → 500
{{XP/Between|1|1}} → 0
{{XP/Between|0|10}} → 8199
{{XP/Between|20|50}} → 716542
{{XP/Between|200|500}} → 1833419495
{{formatnum:{{XP/Between|200|500}}}} → 1,833,419,495

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Total experience points needed to, starting from a specified level, reach another level

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Low level1

The starting level

Example
20
Numberrequired
High level2

The level to reach

Example
50
Numberrequired