Template:XP/Total

From Brighter Shores Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:XP/Total/doc. [edit] [history] [purge]
Template:XP/Total invokes function total_xp in Module:Experience using Lua.

Total experience points needed to reach a level, from 0.

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

Examples

{{XP/Total|0}} → 0
{{XP/Total|20}} → 35997
{{XP/Total|500}} → 1861867989
{{formatnum:{{XP/Total|500}}}} → 1,861,867,989

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 a level, from 0

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Level1

The level to reach

Example
20
Numberrequired