Template:XP/doc

The XP template returns the number of experience points required to reach the level of the input parameter.

Usage
level

Example
Note that spaces in using the template might cause unexpected results when used in other constructs (tables, templates). The example produces the following result: