Template:XP to Level/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{documentation}} :'''''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== <pre>{{XP to level|Current experience|goal level}}</pre> ==Example== A goal level of 80 with current experience 1,500,000. Code: <pre>{{XP to level|1500000|80}}</pre> Result:<br /> {{XP to level|1500000|80}} <includeonly>Category:Mathematical templates|{{PAGEN...")
 
No edit summary
 
Line 1:
{{documentation}}
:'''''Not to be confused with [[Template:XP to Levellevel]].'''''
 
The '''XP to levelLevel''' workstemplate outreturns the differencelevel betweenfor thea experiencegiven needednumber atof aexperience certainpoints levelgiven andin athe currentinput experienceparameter.
 
== Usage ==
<pre>{{XP to levelLevel|Current experience|goal levelpoints}}</pre>
 
== Example ==
<pre>{{XP to levelLevel|1500000|80}}</pre>
A goal level of 80 with current experience 1,500,000.
Note that spaces in using the template might cause unexpected results when used in other constructs (tables, templates). The example produces the following result: {{XP to Level|1500000}}
 
<includeonly>[[Category:Calculator templates|{{PAGENAME}}]][[Category:Mathematical templates|{{PAGENAME}}]][[Category:XP templates|{{PAGENAME}}]]</includeonly>
Code:
<pre>{{XP to level|1500000|80}}</pre>
 
Result:<br />
{{XP to level|1500000|80}}
 
<includeonly>[[Category:Mathematical templates|{{PAGENAME}}]][[Category:XP templates|{{PAGENAME}}]]</includeonly>

Navigation menu