12,714
edits
m (lootTable -> lootList in line with {{Module:Skills}} changes) |
(Invoke getTheivingNPCStat from Module:Skills instead) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Usage: {{T|ThievingTarget| | Usage: {{T|ThievingTarget|<NPC_Name>}}. If the '''name''' parameter is omitted, the page name is used instead. | ||
For example, {{T|ThievingTarget| | For example, {{T|ThievingTarget|Chef}} returns: | ||
{{ThievingTarget| | {{ThievingTarget|Chef}} | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly>{{#vardefine:npc|{{{1|{{PAGENAME}}}}}}}<!-- | ||
{{#vardefine:npc|{{{ | --><!-- Manual override below for Golbin --><!-- | ||
<!-- Manual override below for | -->{{#ifeq:{{#var:npc}}|Golbin (thieving)|{{#vardefine:npc|Golbin}}}}<!-- | ||
{{#ifeq:{{#var:npc}}|Golbin (thieving)|{{#vardefine:npc|Golbin}}}} | --><!-- Generate the box --> | ||
<!-- 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" | ||
|- | |- | ||
Line 19: | Line 14: | ||
| {{#invoke:Icons|Icon|{{#var:npc}}|type=thieving|size=250|notext=true}} | | {{#invoke:Icons|Icon|{{#var:npc}}|type=thieving|size=250|notext=true}} | ||
|- | |- | ||
| ''' | | '''Area:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|area}} | ||
|- | |||
| '''Requirements:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|level}} | |||
|- | |||
| '''Perception:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|perception}} | |||
|- | |- | ||
| '''Max Hit:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|maxHit}} | | '''Max Hit:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|maxHit}} | ||
|- | |- | ||
| '''Experience:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|xp}} XP | | '''Experience:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|xp}} XP | ||
|}</includeonly></onlyinclude> | |}</includeonly></onlyinclude> |