Template:Items Needed/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(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:
{{documentationDocumentation}}
The '''Items Needed''' template givesis theused numberon ofquest itemsmw.pages neededand (roundedquick up)guides to getlist to aitems particularplayers goalwill levelneed.
 
==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:Mathematical templates|{{PAGENAME}}]][[Category:UserTransclusion templates|{{PAGENAME}}]]</includeonly>

Navigation menu