Template:ThievingTarget: Difference between revisions

From Melvor Idle
(Updated to use new code for thieving (in Skills/Gathering))
(changed argument override to numeric)
Line 4: Line 4:
{{ThievingTarget|name=Chef}}
{{ThievingTarget|name=Chef}}


<onlyinclude><includeonly>{{#vardefine:npc|{{{name|{{PAGENAME}}}}}}}<!--
<onlyinclude><includeonly>{{#vardefine:npc|{{{1|{{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}}}}<!--

Revision as of 20:42, 30 September 2021

Usage: {{ThievingTarget|name=<NPC_Name>}}. If the name parameter is omitted, the page name is used instead.

For example, {{ThievingTarget|name=Chef}} returns:

ThievingTarget
File:ThievingTarget (thieving).png
Area: Script error: The function "getThievingNPCStat" does not exist.
Requirements: Script error: The function "getThievingNPCStat" does not exist.
Perception: Script error: The function "getThievingNPCStat" does not exist.
Max Hit: Script error: The function "getThievingNPCStat" does not exist.
Experience: Script error: The function "getThievingNPCStat" does not exist. XP