Template:XP/Total/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{Documentation}} Total experience points needed to reach a level, from 0. This value is suitable for calculations (i.e., it has no commas). Use <syntaxhighlight language="wikitext" inline>{{formatnum:{{XP/Total|...}}}}</syntaxhighlight> to display the value. ==Examples== <syntaxhighlight language="wikitext" inline>{{XP/Total|0}}</syntaxhighlight> → {{XP/Total|0}}<br> <syntaxhighlight language="wikitext" inline>{{XP/Total|20}}</syntaxhighlight> → {{XP/Total...") |
mNo edit summary |
||
Line 3: | Line 3: | ||
Total experience points needed to reach a level, from 0. |
Total experience points needed to reach a level, from 0. |
||
This value is suitable for calculations (i.e., it has no commas). Use <syntaxhighlight |
This value is suitable for calculations (i.e., it has no commas). Use <syntaxhighlight lang="wikitext" inline>{{formatnum:{{XP/Total|...}}}}</syntaxhighlight> to display the value. |
||
==Examples== |
==Examples== |
||
<syntaxhighlight |
<syntaxhighlight lang="wikitext" inline>{{XP/Total|0}}</syntaxhighlight> → {{XP/Total|0}}<br> |
||
<syntaxhighlight |
<syntaxhighlight lang="wikitext" inline>{{XP/Total|20}}</syntaxhighlight> → {{XP/Total|20}}<br> |
||
<syntaxhighlight |
<syntaxhighlight lang="wikitext" inline>{{XP/Total|500}}</syntaxhighlight> → {{XP/Total|500}}<br> |
||
<syntaxhighlight |
<syntaxhighlight lang="wikitext" inline>{{formatnum:{{XP/Total|500}}}}</syntaxhighlight> → {{formatnum:{{XP/Total|500}}}} |
||
{{TemplateData|<templatedata> |
{{TemplateData|<templatedata> |
Latest revision as of 10:27, 19 December 2024
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
|