Template:ThievingTarget: Difference between revisions

From Melvor Idle
No edit summary
m (Remove override for golbin as it is no longer necessary)
 
(22 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right"
Usage: {{T|ThievingTarget|<NPC_Name>}}. If the '''name''' parameter is omitted, the page name is used instead.
 
For example, {{T|ThievingTarget|Chef}} returns:
{{ThievingTarget|Chef}}
{{ThievingTarget|Blighted Treant}}
 
<onlyinclude><includeonly>
<!-- Generate the box -->
{| class="wikitable infobox"
|-  
|-  
! {{{name}}}
! {{#invoke:Skills|getThievingNPCStat|{{{1|{{PAGENAME}}}}}|expansionIcon}}{{{1|{{PAGENAME}}}}}
|-
|-
| [[File:{{{name}}}_(thieving).svg|250px]]
| style="text-align:center;" | {{#invoke:Icons|Icon|{{{1|{{PAGENAME}}}}}|type=thieving|size=250|notext=true}}
|-
|-
| Level {{{level}}}
| '''NPC ID:''' {{#invoke:Skills|getThievingNPCStat|{{{1|{{PAGENAME}}}}}|id}}
|-
|-
| {{{xp}}}xp
| '''Area:''' {{#invoke:Skills|getThievingNPCStat|{{{1|{{PAGENAME}}}}}|area}}
|}
|-
| '''Requirements:''' {{#invoke:Skills|getThievingNPCStat|{{{1|{{PAGENAME}}}}}|level}}
|-
| '''Perception:''' {{formatnum:{{#invoke:Skills|getThievingNPCStat|{{{1|{{PAGENAME}}}}}|perception}}}}
|-
| '''Max Hit:''' {{formatnum:{{#invoke:Skills|getThievingNPCStat|{{{1|{{PAGENAME}}}}}|maxHit}}}}
|-
| '''Experience:''' {{formatnum:{{#invoke:Skills|getThievingNPCStat|{{{1|{{PAGENAME}}}}}|baseExperience}}}} XP
|}</includeonly></onlyinclude>

Latest revision as of 16:18, 17 January 2025

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
NPC ID: melvorF:CHEF
Area: Banquet
Requirements:
Error creating thumbnail: File missing
Level 34
Perception: 350
Max Hit: 108
Experience: 31 XP
Error creating thumbnail: File missing
Blighted Treant
Error creating thumbnail: File missing
NPC ID: melvorItA:BlightedTreant
Area: Blighted Reach
Requirements:
Error creating thumbnail: File missing
Level 20
Perception: 1,210
Max Hit: 15,500
Experience: 2,721 XP