Template:ThievingTarget: Difference between revisions
From Melvor Idle
m (Amend example to remove named parameter) |
(Invoke getTheivingNPCStat from Module:Skills instead) |
||
Line 14: | 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 | | '''Area:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|area}} | ||
|- | |- | ||
| '''Requirements:''' {{#invoke:Skills | | '''Requirements:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|level}} | ||
|- | |- | ||
| '''Perception:''' {{#invoke:Skills | | '''Perception:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|perception}} | ||
|- | |- | ||
| '''Max Hit:''' {{#invoke:Skills | | '''Max Hit:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|maxHit}} | ||
|- | |- | ||
| '''Experience:''' {{#invoke:Skills | | '''Experience:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|xp}} XP | ||
|}</includeonly></onlyinclude> | |}</includeonly></onlyinclude> |
Revision as of 14:02, 18 April 2022
Usage: {{ThievingTarget|<NPC_Name>}}
. If the name parameter is omitted, the page name is used instead.
For example, {{ThievingTarget|Chef}}
returns:
Chef |
---|
Area: Banquet |
Requirements: |
Perception: 350 |
Max Hit: 108 |
Experience: XP |