Template:ThievingTarget: Difference between revisions

From Melvor Idle
(Correct experience value)
(Add infobox class)
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}}

Revision as of 08:18, 23 November 2022

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