Template:XP/Total/doc

From Brighter Shores Wiki
Revision as of 10:27, 19 December 2024 by Artoire (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:XP/Total.
It contains usage information, categories, and other content that is not part of the original template page.
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

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Level1

The level to reach

Example
20
Numberrequired