Template:Items Needed: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
(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: Manual revert
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 11:44, 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: 709

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: 696

Templates Used