Template:XP/To next

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

Total experience points needed to reach the next level.

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

Examples

{{XP/To next|0}} → 500
{{XP/To next|20}} → 17818
{{XP/To next|499}} → 12827282
{{XP/To next|500}}
{{formatnum:{{XP/To next|499}}}} → 12,827,282

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 reach the next level

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Level1

The starting level

Example
20
Numberrequired