Template:Infobox NPC

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Infobox NPC/doc. [edit] [history] [purge]
Template:Infobox NPC invokes function main in Module:Infobox NPC using Lua.

Parameters

name

Name of the character. Shown for instance after each action when the character is right clicked or long-pressed.

image

An image of the character.

release

Date the character was first introduced to the game.

update

Update post associated with the release of the character.

removal

(Optional) Date the character was removed from the game.

removalupdate

(Optional) Update post associated with the removal of the character.

aka

(Optional) Alternate names for the non-player character. These could be for instance names that other non-player characters use to refer to this character, or other names found in lore books.

members

Whether or not the character is available to only members.

race

Race of the character.

quest

Quests that the character is involved in. Should be a comma separated list; bullet generation is handled internally. Enter "No" if the character is not involved in any quests.

location

Comma-separated list of general locations that the character can be found in. A location could be a city such as Varrock, or more specific location such as White Knights' Castle. For more specific documentation about locations, use the map parameter.

shop

(Optional) Comma-separated lists of shops ran by the character. Note that setting this value (and a location) will cause the variable infobox_shop_location to be set. This variable may be used by other templates, such as {{StoreTableHead}}.

gender

Gender of the character.

actions

Right-click or long-press options that the character provides. Should be a comma separated list; bullet generation is handled internally.

thievelvl

(Optional) The thieving level required to pickpocket this character. Omit if the character is not pickpocketable.

examine

The examine text of the character. Each character variant should only have one examine. If the character's examine texts vary, this infobox should be split to different variants of the character accordingly.

f2pvisible

(Optional) An invisible parameter that adds a category if the character is visible but not interactive in free-to-play.

voice

Indicates if the character is voice-acted.

map

An interactive location for the character.

If the character appears in many locations, and not on the same map (e.g. some on surface, some in a dungeon) use a #Locations section in the page prose.

Deprecated: A map of the NPC. Use no to hide the map, name to use Page title location.png or you can use text such as See [[#Location|location]] section below

intmap

Deprecated: All maps should now use the map param.

id

The character's internal game ID. This parameter must be a number, delimited by commas if there are multiple ID's for the NPC. Use no only when the subject of the infobox is an object and it has no character variants. See the objectid parameter for more information.

objectid

If the subject of the infobox is actually an interactive scenery (cyan name when hovering, instead of yellow), inform the object's internal game ID. Use this infobox when the object acts like a character. This parameter must be a number, delimited by commas if there are multiple ID's for the object.

Quick copy

{{Infobox NPC
|name = 
|image = 
|release = 
|update = 
|removal = (Optional)
|removalupdate = (Optional)
|aka = (Optional)
|members = 
|race = 
|quest = 
|location = 
|shop = (Optional)
|gender = 
|thievelvl = (Optional)
|actions = 
|examine = 
|f2pvisible = (Optional)
|voice = (Optional)
|map = 
|id = 
|objectid = (Optional)
}}