Template:Items Needed: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<includeonly>{{#expr: ( {{#if: {{{Goal|}}} | {{XP|{{{Goal}}}}} | 0 }} - {{#if: {{{Xp|}}} | {{{Xp}}} | {{#if: {{{Level|}}} | {{XP|{{{Level}}}}} | 0 }} }} ) / {{{ItemXp|1}}} + 0.4999 round 0 }}</includeonly><noinclude>{{/doc}} ==Templates Used== *Template:XP</noinclude>")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>{{#expr: ( {{#if: {{{Goal|}}} | {{XP|{{{Goal}}}}} | 0 }} - {{#if: {{{Xp|}}} | {{{Xp}}} | {{#if: {{{Level|}}} | {{XP|{{{Level}}}}} | 0 }} }} ) / {{{ItemXp|1}}} + 0.4999 round 0 }}</includeonly><noinclude>{{/doc}}
<includeonly><div class="seealso">{{#if: {{{1|}}} |'''Items needed:''' {{{1}}}}}{{#if: {{{recommended|}}} |{{#if: {{{1|}}} |<br />}}'''Items recommended:''' {{{recommended}}}}}</div></includeonly><noinclude>
{{/doc}}</noinclude>
==Templates Used==
*[[Template:XP]]</noinclude>

Revision as of 00:39, 17 October 2024

Template documentation
This documentation is transcluded from Template:Items Needed/doc. [edit] [history] [purge]

The Items Needed template gives the number of items needed (rounded up) to get to a particular goal level.

Usage

{{Items Needed
|Goal   = target level
|Level  = current level
|Xp     = current experience points (alternative to Level)
|ItemXp = the experience each item gives
}}

Copy+paste

{{Items Needed|Goal=|Level=|ItemXp=}}

Examples

The first example defines the current skill status using the Level parameter:

{{Items Needed|Goal=50|Level=43|ItemXp=72}}

The example produces the following result:

The second example defines the actual skill status by using the Xp parameter:

{{Items Needed|Goal=50|Xp=51234|ItemXp=72}}

The example produces the following result: