Template:XP to level/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:XP to level.
It contains usage information, categories, and other content that is not part of the original template page.
Not to be confused with Template:XP to Level.

XP to level works out the difference between the experience needed at a certain level and a current experience.

Usage

{{XP to level|Current experience|goal level}}

Example

A goal level of 80 with current experience 1,500,000.

Code:

{{XP to level|1500000|80}}

Result:
486068