Template:Infobox Monster/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} {{Standard infobox parameters}} ==Parameters== ===name=== The in-game name of the monster. ===image=== An image of the monster. ===release=== Release date of the monster. Should follow the format <nowiki>DD Month YYYY</nowiki>. ===update=== Update page that the monster was released with. Do not include brackets (<nowiki>& </nowiki>) or the Update: prefix. ===removal=== (Optional) Removal date of the monster. Should follow the format <...")
 
(No difference)

Latest revision as of 16:39, 15 October 2024

This is a documentation subpage for Template:Infobox Monster.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Infobox Monster invokes function main in Module:Infobox Monster using Lua.


Standard infobox parameters

This infobox uses Module:Infobox, which provides a number of standard parameters.


Parameters

name

The in-game name of the monster.

image

An image of the monster.

release

Release date of the monster. Should follow the format [[DD Month]] [[YYYY]].

update

Update page that the monster was released with. Do not include brackets ([[ & ]]) or the Update: prefix.

removal

(Optional) Removal date of the monster. Should follow the format [[DD Month]] [[YYYY]].

removalupdate

(Optional) Update page that the monster was removed with. Do not include brackets ([[ & ]]) or the Update: prefix.

aka

(Optional) Other names commonly associated with the monster.

members

Whether or not the monster is a members only monster. Must be the string "yes" or "no".

combat

The monster's level. Must be a number or the string "no".

size

The size of the monster in game squares. If the monster occupies 2x2 game squares, enter the number "2". Will be hidden if the monster is a single game square.

examine

Examine text of the monster.

attributes

(Optional) Monster attributes that apply to the monster. Supports a comma separated list of attribute values. Omit or set to "No" if no attributes apply. Supported attributes are:

  • demon
  • dragon
  • fiery
  • golem
  • icy
  • kalphite
  • leafy
  • penance
  • rat
  • shade
  • spectral
  • undead
  • vampyre1
  • vampyre2
  • vampyre3
  • xerician

xpbonus

(Optional) The bonus experience gained in combat (hitpoints, melee/ranged/magic) from attacking this monster. Express as a number (e.g. 2.5 for 2.5%).

flatarmour

(Optional) The flat armour value for the monster.

max hit

The monster's maximum hit. Comma separated list.

aggressive

Whether or not the monster is aggressive. Must be the string "yes" or "no".

poisonous

Whether or not the monster inflicts poison. Must be a number representing the max hit of the poison, or the string "yes" or "no".

attack style

The attack style of the monster. Comma separated list.

attack speed

The monster's attack speed. Must be a valid attack speed number, or "no".

respawn

(Optional) The respawn time of the monster in ticks.

slaylvl

(Optional) Slayer level required to kill. May be a number or the string "no" if the monster is not assigned.

slayxp

(Optional) Slayer xp from killing the monster. May be a number or the string "no" if the monster is not assigned.

cat

(Optional) Slayer category that the monster falls under for slayer assignments. Comma separated list. Omit if not assigned.

assignedby

(Optional) List of Slayer Masters that can assign the monster. Comma separated list. Omit or set to "No" if not assigned. Supported Slayer Masters are:

  • turael
  • spria
  • krystilia
  • mazchna
  • vannaka
  • chaeldar
  • konar
  • nieve
  • steve
  • duradel

hitpoints

The monster's hitpoints. Must be a number.

att

The monster's attack level. Must be a number.

str

The monster's strength level. Must be a number.

def

The monster's defence level. Must be a number.

mage

The monster's magic level. Must be a number.

range

The monster's ranged level. Must be a number.

attbns

The monster's attack bonus. Must be a number.

strbns

The monster's strength bonus. Must be a number.

amagic

The monster's magic attack bonus. Must be a number.

mbns

The monster's magic strength bonus. Must be a number.

arange

The monster's ranged attack bonus. Must be a number.

rngbns

The monster's ranged strength bonus. Must be a number.

dstab

The monster's stab defence bonus. Must be a number.

dslash

The monster's slash defence bonus. Must be a number.

dcrush

The monster's crush defence bonus. Must be a number.

dmagic

The monster's magic defence bonus. Must be a number.

dlight

The monster's light ranged defence bonus. Must be a number.

dstandard

The monster's standard ranged defence bonus. Must be a number.

dheavy

The monster's heavy ranged defence bonus. Must be a number.

elementalweaknesstype

(Optional) What elemental type of spell the monster is weak to. Must be the string "air", "water", "earth", or "fire".

elementalweaknesspercent

(Optional) The amount of elemental weakness percentage. Must be a number.

immunepoison

Whether or not the monster is immune to poison. Must be the string "yes", "no", or "smoke" if the monster can only be poisoned by smoke spells.

immunevenom

Whether or not the monster is immune to venom. Must be the string "yes", "no", or "poison" if the monster becomes poisoned instead of envenomed.

immunecannon

(Optional) Whether or not the monster is immune to cannons. Must be the string "yes" or "no".

immunethrall

(Optional) Whether or not the monster is immune to thralls. Must be the string "yes" or "no".

freezeresistance

(Optional) The amount of freeze resistance percentage. Must be a number.

id

The monster's internal game ID. Must be a number.

dropversion

(Optional) A name representing which drop tables are associated with this monster. Should be defined if (i.) multiple infobox versions should be grouped when displaying a single drop table, or (ii.) a drop table does not apply to all infobox versions. The dropversion is set as the version parameter in Template:DropsTableHead, and is displayed next to the name of the dropping monster in Template:Drop sources.

Quick Copy

{{Infobox Monster
|name = 
|image = 
|release = 
|update = 
|removal = (Optional)
|removalupdate = (Optional)
|aka = (Optional)
|members = 
|combat = 
|size = 
|examine = 
|attributes = (Optional)
|xpbonus = (Optional)
|flatarmour = (Optional)
|max hit = 
|aggressive = 
|poisonous = 
|attack style = 
|attack speed = 
|respawn = (Optional)
|slaylvl = (Optional)
|slayxp = (Optional)
|cat = (Optional)
|assignedby = (Optional)
|hitpoints = 
|att = 
|str = 
|def = 
|mage = 
|range = 
|attbns = 
|strbns = 
|amagic = 
|mbns = 
|arange = 
|rngbns = 
|dstab = 
|dslash = 
|dcrush = 
|dmagic = 
|dlight =
|dstandard =
|dheavy =
|elementalweaknesstype = (Optional)
|elementalweaknesspercent = (Optional)
|immunepoison = 
|immunevenom = 
|immunecannon = (Optional)
|immunethrall = (Optional)
|freezeresistance = (Optional)
|id = 
|dropversion = (Optional)
}}