Template:Items Needed/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 1:
{{Documentationdocumentation}}
The '''Items Needed''' template isgives usedthe onnumber questof mw.pagesitems andneeded quick(rounded guidesup) to listget itemsto a playersparticular willgoal needlevel.
 
==Usage==
<pre>
<pre>{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]}}</pre>
{{Items Needed
produces:
|Goal = target level
{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]}}
|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==
An optional parameter, <code>'''recommended'''</code>, is available:
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}}
 
The second example defines the actual skill status by using the ''Xp'' parameter:
<pre>{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]|recommended=A [[white partyhat]] and 200 million [[coins]]}}</pre>
<pre>{{Items Needed|Goal=50|Xp=51234|ItemXp=72}}</pre>
produces:
The example produces the following result:
{{Needed|2 [[super antifire]]s, a [[dragonfire shield]], and an [[abyssal whip]]|recommended=A [[white partyhat]] and 200 million [[coins]]}}
{{Items Needed|Goal=50|Xp=51234|ItemXp=72}}
 
<includeonly>[[Category:TransclusionMathematical 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>

Navigation menu