Template:ThievingTarget: Difference between revisions
From Melvor Idle
m (Prevent excessive whitespace (hopefully)) |
Falterfire (talk | contribs) (Updated to use new code for thieving (in Skills/Gathering)) |
||
Line 16: | Line 16: | ||
| {{#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/Gathering|getThievingNPCStat|{{#var:npc}}|area}} | ||
|- | |- | ||
| ''' | | '''Requirements:''' {{#invoke:Skills/Gathering|getThievingNPCStat|{{#var:npc}}|level}} | ||
|- | |- | ||
| ''' | | '''Perception:''' {{#invoke:Skills/Gathering|getThievingNPCStat|{{#var:npc}}|perception}} | ||
|- | |- | ||
| ''' | | '''Max Hit:''' {{#invoke:Skills/Gathering|getThievingNPCStat|{{#var:npc}}|maxHit}} | ||
|- | |||
{{# | | '''Experience:''' {{#invoke:Skills/Gathering|getThievingNPCStat|{{#var:npc}}|xp}} XP | ||
|}</includeonly></onlyinclude> | |}</includeonly></onlyinclude> |
Revision as of 20:31, 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:
Chef |
---|
Error creating thumbnail: File missing
|
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 |