Template:Items Needed/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{documentation}} The '''Items Needed''' template gives the number of items needed (rounded up) to get to a particular goal level. ==Usage== <pre> {{Items Needed |Goal = target level |Level = current level |Xp = current experience points (alternative to Level) |ItemXp = the experience each item gives }} </pre> ===Copy+paste=== <pre>{{Items Needed|Goal=|Level=|ItemXp=}}</pre> ==Examples== The first example defines the current skill status using the ''Level'' par...")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
{{documentation}}
{{Documentation}}
The '''Items Needed''' template gives the number of items needed (rounded up) to get to a particular goal level.
The '''Needed''' template is used on quest mw.pages and quick guides to list items players will need.


==Usage==
==Usage==
<pre>{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]}}</pre>
<pre>
produces:
{{Items Needed
{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]}}
|Goal = target level
|Level = current level
|Xp = current experience points (alternative to Level)
|ItemXp = the experience each item gives
}}
</pre>


===Copy+paste===
<pre>{{Items Needed|Goal=|Level=|ItemXp=}}</pre>


An optional parameter, <code>'''recommended'''</code>, is available:
==Examples==
The first example defines the current skill status using the ''Level'' parameter:
<pre>{{Items Needed|Goal=50|Level=43|ItemXp=72}}</pre>
The example produces the following result:
{{Items Needed|Goal=50|Level=43|ItemXp=72}}


<pre>{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]|recommended=A [[white partyhat]] and 200 million [[coins]]}}</pre>
The second example defines the actual skill status by using the ''Xp'' parameter:
produces:
<pre>{{Items Needed|Goal=50|Xp=51234|ItemXp=72}}</pre>
{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]|recommended=A [[white partyhat]] and 200 million [[coins]]}}
The example produces the following result:
{{Items Needed|Goal=50|Xp=51234|ItemXp=72}}



<includeonly>[[Category:Mathematical templates|{{PAGENAME}}]][[Category:User templates|{{PAGENAME}}]]</includeonly>
The optional parameter can also be the sole parameter:

<pre>{{Needed|recommended=A [[white partyhat]] and 200 million [[coins]]}}</pre>
produces:
{{Needed|recommended=A [[white partyhat]] and 200 million [[coins]]}}

==Placement==
This template should be placed at the beginning of each section, after subheadings and before the main body of text.

{{TemplateData|<templatedata>
{
"params": {
"1": {
"label": "Items needed",
"type": "content",
"suggested": true
},
"recommended": {
"label": "Items recommended",
"type": "content",
"suggested": true
}
},
"format": "inline",
"description": "This template is used on quest mw.pages and quick guides to list items players will need."
}
</templatedata>}}
<includeonly>[[Category:Transclusion templates|{{PAGENAME}}]]</includeonly>

Revision as of 00:39, 17 October 2024

This is a documentation subpage for Template:Items Needed.
It contains usage information, categories, and other content that is not part of the original template page.

The Needed template is used on quest mw.pages and quick guides to list items players will need.

Usage

{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]}}

produces:


An optional parameter, recommended, is available:

{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]|recommended=A [[white partyhat]] and 200 million [[coins]]}}

produces:

Items needed: 2 super antifires, a dragonfire shield, and an abyssal whip
Items recommended: A white partyhat and 200 million coins


The optional parameter can also be the sole parameter:

{{Needed|recommended=A [[white partyhat]] and 200 million [[coins]]}}

produces:

Items recommended: A white partyhat and 200 million coins

Placement

This template should be placed at the beginning of each section, after subheadings and before the main body of text.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

This template is used on quest mw.pages and quick guides to list items players will need.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Items needed1

no description

Contentsuggested
Items recommendedrecommended

no description

Contentsuggested