Template:XP/Between/doc

Revision as of 10:31, 19 December 2024 by Artoire (talk | contribs) (Created page with "{{Documentation}} {{see also|Template:XP/To next}} 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 <syntaxhighlight lang="wikitext" inline>{{formatnum:{{XP/Between|...}}}}</syntaxhighlight> to display the value. ==Examples== <syntaxhighlight lang="wikitext" inline>{{XP/Between|0|1}}</syntaxhighlight> → {{XP/Between|0|1}}<br> <syntaxhighlight lang="wikit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:XP/Between.
It contains usage information, categories, and other content that is not part of the original template page.
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

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