Template:XP/To next/doc

From Brighter Shores Wiki
Revision as of 10:33, 19 December 2024 by Artoire (talk | contribs) (Created page with "{{Documentation}} Total experience points needed to reach the next level. This value is suitable for calculations (i.e., it has no commas). Use <syntaxhighlight lang="wikitext" inline>{{formatnum:{{XP/To next|...}}}}</syntaxhighlight> to display the value. ==Examples== <syntaxhighlight lang="wikitext" inline>{{XP/To next|0}}</syntaxhighlight> → {{XP/To next|0}}<br> <syntaxhighlight lang="wikitext" inline>{{XP/To next|20}}</syntaxhighlight> → {{XP/To next|20...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:XP/To next.
It contains usage information, categories, and other content that is not part of the original template page.
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

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Level1

The starting level

Example
20
Numberrequired