Template:ThievingTarget: Difference between revisions

From Melvor Idle
(Correct experience value)
m (Format max hit number)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
-->{{#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 infobox"
|-  
|-  
! {{#var:npc}}
! {{#var:npc}}
|-
|-
| {{#invoke:Icons|Icon|{{#var:npc}}|type=thieving|size=250|notext=true}}
| style="text-align:center;" | {{#invoke:Icons|Icon|{{#var:npc}}|type=thieving|size=250|notext=true}}
|-
|-
| '''Area:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|area}}
| '''Area:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|area}}
Line 20: Line 20:
| '''Perception:''' {{formatnum:{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|perception}}}}
| '''Perception:''' {{formatnum:{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|perception}}}}
|-
|-
| '''Max Hit:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|maxHit}}
| '''Max Hit:''' {{formatnum:{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|maxHit}}}}
|-
|-
| '''Experience:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|baseExperience}} XP
| '''Experience:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|baseExperience}} XP
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>

Latest revision as of 14:42, 20 June 2024

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

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

Chef
Error creating thumbnail: File missing
Area: Banquet
Requirements:
Error creating thumbnail: File missing
Level 34
Perception: 350
Max Hit: 108
Experience: 31 XP