Template:Infobox NPC/doc

From Sarim Wiki
Revision as of 04:52, 2 October 2026 by Maintenance script (talk | contribs) (Organize infobox templates and documentation for editors)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template displays Identity, combat and access summary for a Sarim NPC or a specific NPC variant.

Usage

Supply only verified fields. Empty rows and empty sections are hidden; zero and No are displayed. Do not enter zero or No as a substitute for unknown data. Leave unverified parameters empty. Use one box per variant when values differ; label variant and context explicitly.

{{Infobox NPC
|name = 
|image = 
|image_alt = 
|variant = 
|context = 
|npc_type = 
|location = 
|examine = 
|size = 
|options = 
|combat_level = 
|hitpoints = 
|attack = 
|strength = 
|defence = 
|magic = 
|ranged = 
|attack_styles = 
|max_hit = 
|attack_ticks = 
|aggressive = 
|poison = 
|venom = 
|immunities = 
|weakness = 
|respawn_ticks = 
|requirements = 
|entry_cost = 
|availability = 
|slayer_level = 
|slayer_xp = 
|slayer_category = 
|loot = 
|pet = 
|npc_id = 
|notes = 
}}

Parameters

Parameter Meaning
name Display name. Defaults to the current page title when omitted.
image Existing local File name, without brackets; do not use an external image URL.
image_alt Plain description of the illustration for screen readers.
caption Optional caption explaining the illustration.
variant Phase, charge state, difficulty or other variant represented by this box.
context Scope such as solo, world mode or season; supply only verified conditions.
notes Short qualifying note; longer mechanics belong in the article body.
alignment right (default), left or none; none keeps the box in normal document flow.
npc_type Verified classification such as boss, monster, service NPC or pet.
location Verified spawn or encounter locations; distinguish static and activity spawns.
examine Verified Sarim examine text for this variant.
size Footprint in game tiles; include dimensions when appropriate.
options Available interactions in their applicable context.
combat_level Combat level for the named variant and conditions.
hitpoints Base or context-specific hitpoints; state scaling conditions.
attack NPC Attack level, distinct from attack bonuses.
strength NPC Strength level, distinct from strength bonuses.
defence NPC Defence level, distinct from defensive bonuses.
magic NPC Magic level, distinct from magic bonuses.
ranged NPC Ranged level, distinct from ranged bonuses.
attack_styles Implemented styles and any phase or attack-specific conditions.
max_hit Verified damage maximum with relevant style, phase and modifiers.
attack_ticks Ticks between attacks; describe exceptions or varying attacks. Unit: ticks; do not add that unit to a numeric value.
aggressive Whether and under which conditions the NPC initiates combat.
poison Poison inflicted, including damage and conditions where verified.
venom Venom inflicted and applicable conditions.
immunities Verified immunities and exceptions.
weakness Verified vulnerability or weakness; do not infer from OSRS.
respawn_ticks Respawn delay and conditions; describe non-respawning encounters explicitly. Unit: ticks; do not add that unit to a numeric value.
requirements Levels, unlocks, account or encounter entry conditions.
entry_cost Entry fees or consumed supplies, with currencies and conditions.
availability World, mode, season or other availability restrictions.
slayer_level Verified Slayer level needed for the relevant interaction.
slayer_xp Verified Slayer XP per applicable kill, including modifiers when relevant.
slayer_category Applicable task categories with eligibility conditions.
loot Short reward summary or link to the full verified drop table.
pet Associated pet and link to its reviewed acquisition conditions.
npc_id Verified numeric ID or explicitly labelled variant ID list.

Editing notes

Images must already exist on this wiki. Set image to the File name without brackets or an external URL. Boolean fields accept explicit Yes or No. Tick, XP, weight and percentage units are stated in row labels where applicable. No values, drop probabilities, alchemy prices or eligibility conditions are calculated by this display template. Links and short formatted text may be used in values. Keep long lists, drop tables and detailed mechanics in the article body. See Help:Infoboxes for the template directory and machine-generation workflow.

Identity, combat and access summary for a Sarim NPC or a specific NPC variant.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Display name. Defaults to the current page title when omitted.

Stringsuggested
Imageimage

Existing local File name, without brackets; do not use an external image URL.

Fileoptional
Image alternative textimage_alt

Plain description of the illustration for screen readers.

Stringoptional
Image captioncaption

Optional caption explaining the illustration.

Stringoptional
Variantvariant

Phase, charge state, difficulty or other variant represented by this box.

Stringoptional
Contextcontext

Scope such as solo, world mode or season; supply only verified conditions.

Stringoptional
Notesnotes

Short qualifying note; longer mechanics belong in the article body.

Stringoptional
Alignmentalignment

right (default), left or none; none keeps the box in normal document flow.

Suggested values
right left none
Stringoptional
NPC typenpc_type

Verified classification such as boss, monster, service NPC or pet.

Stringoptional
Locationlocation

Verified spawn or encounter locations; distinguish static and activity spawns.

Stringoptional
Examineexamine

Verified Sarim examine text for this variant.

Stringoptional
Sizesize

Footprint in game tiles; include dimensions when appropriate.

Stringoptional
Optionsoptions

Available interactions in their applicable context.

Stringoptional
Combat levelcombat_level

Combat level for the named variant and conditions.

Stringoptional
Hitpointshitpoints

Base or context-specific hitpoints; state scaling conditions.

Stringoptional
Attackattack

NPC Attack level, distinct from attack bonuses.

Stringoptional
Strengthstrength

NPC Strength level, distinct from strength bonuses.

Stringoptional
Defencedefence

NPC Defence level, distinct from defensive bonuses.

Stringoptional
Magicmagic

NPC Magic level, distinct from magic bonuses.

Stringoptional
Rangedranged

NPC Ranged level, distinct from ranged bonuses.

Stringoptional
Attack stylesattack_styles

Implemented styles and any phase or attack-specific conditions.

Stringoptional
Maximum hitmax_hit

Verified damage maximum with relevant style, phase and modifiers.

Stringoptional
Attack intervalattack_ticks

Ticks between attacks; describe exceptions or varying attacks. Unit: ticks; do not add that unit to a numeric value.

Stringoptional
Aggressiveaggressive

Whether and under which conditions the NPC initiates combat.

Stringoptional
Poisonpoison

Poison inflicted, including damage and conditions where verified.

Stringoptional
Venomvenom

Venom inflicted and applicable conditions.

Stringoptional
Immunitiesimmunities

Verified immunities and exceptions.

Stringoptional
Weaknessweakness

Verified vulnerability or weakness; do not infer from OSRS.

Stringoptional
Respawn intervalrespawn_ticks

Respawn delay and conditions; describe non-respawning encounters explicitly. Unit: ticks; do not add that unit to a numeric value.

Stringoptional
Requirementsrequirements

Levels, unlocks, account or encounter entry conditions.

Stringoptional
Entry costentry_cost

Entry fees or consumed supplies, with currencies and conditions.

Stringoptional
Availabilityavailability

World, mode, season or other availability restrictions.

Stringoptional
Slayer requirementslayer_level

Verified Slayer level needed for the relevant interaction.

Stringoptional
Slayer experienceslayer_xp

Verified Slayer XP per applicable kill, including modifiers when relevant.

Stringoptional
Slayer categoryslayer_category

Applicable task categories with eligibility conditions.

Stringoptional
Lootloot

Short reward summary or link to the full verified drop table.

Stringoptional
Petpet

Associated pet and link to its reviewed acquisition conditions.

Stringoptional
NPC IDnpc_id

Verified numeric ID or explicitly labelled variant ID list.

Stringoptional