Template:ThievingTarget: Difference between revisions
From Melvor Idle
m (Fix typo) |
m (Prevent excessive whitespace (hopefully)) |
||
Line 4: | Line 4: | ||
{{ThievingTarget|name=Chef}} | {{ThievingTarget|name=Chef}} | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly>{{#vardefine:npc|{{{name|{{PAGENAME}}}}}}}<!-- | ||
{{#vardefine:npc|{{{name|{{PAGENAME}}}}}}} | --><!-- Manual override below for Golbin --><!-- | ||
<!-- Manual override below for Golbin --> | -->{{#ifeq:{{#var:npc}}|Golbin (thieving)|{{#vardefine:npc|Golbin}}}}<!-- | ||
{{#ifeq:{{#var:npc}}|Golbin (thieving)|{{#vardefine:npc|Golbin}}}} | -->{{#vardefine:itemDrops|{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|lootList}}}}<!-- | ||
-->{{#vardefine:itemDropsText|{{#ifeq:{{#var:itemDrops}}|||Normal Drops:<br/>{{#var:itemDrops}}<br/>}}}}<!-- | |||
{{#vardefine:itemDrops|{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|lootList}}}} | --><!-- Generate the box --> | ||
{{#vardefine:itemDropsText|{{#ifeq:{{#var:itemDrops}}|||Normal Drops:<br/>{{#var:itemDrops}}<br/>}}}} | |||
<!-- Generate the box --> | |||
{| class="wikitable" style="float:right; clear:right; max-width:250px; margin-left:10px" | {| class="wikitable" style="float:right; clear:right; max-width:250px; margin-left:10px" | ||
|- | |- |
Revision as of 13:04, 15 May 2021
Usage: {{ThievingTarget|name=<NPC_Name>}}
. If the name parameter is omitted, the page name is used instead.
For example, {{ThievingTarget|name=Chef}}
returns:
Chef |
---|
Error creating thumbnail: File missing
|
Requirement: |
Max Hit: 108 |
Experience: XP |
Drops:
Rare Drops:
|