FANDOM


Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:Infobox monster multi/doc.
Template:Infobox monster multi invokes Module:Infobox monster multi using Lua.

This template provides a wrapper for Switch infoboxes that contain only the monster infobox. The strong point of this template is that it allows parameters that apply to multiple versions to only be written once.

The parameters that apply to every version box are the same as those on the basic monster infobox; however, for every parameter there are an additional 20 named paramname#. The unnumbered parameters are the defaults, and will only be used for a version of the corresponding numbered param is not defined. For example, there is name, name1, name2, all the way to name20.

Parameters are only looked for up to the highest "version" defined. The "version" parameters only come as numbered parameters and they are used to define the text in the switch infobox buttons.

Parameters can be referenced and reused by using a dollar sign ($) followed by the index. For example: |image4=$1 will use whatever image is being used for image1. Chatheads can be added outside of the infobox by using |chathead#=<code here>.

Example:

{{Infobox Monster multi
|version1 = Level 60|version2 = Level 61|version3 = Level 63|version4 = Level 64
|name = Afflicted
|image = [[File:Afflicted Woman.png|150px]]
|release = [[18 October]] [[2004]]
|update = Mortton Shades and Mage Armour
|level1 = 60|level2 = 61|level3 = 63|level4 = 64
|LP1 = 2150
|LP2 = 2200
|LP3 = 2250
|LP4 = 2300
|magic = 0
|ranged = 0
|defence1 = 43|attack1 = 43
|defence2 = 44|attack2 = 44
|defence3 = 45|attack3 = 45
|defence4 = 46|attack4 = 46
|slaylvl = No
|members = Yes
|experience1 = 119.7
|experience2 = 125.7
|experience3 = 132
|experience4 = 138.3
|aggressive = No
|attack speed = 6
|poisonous = No
|immune to poison = Yes
|attack style = [[Melee]]
|weakness = Air
|always drops = Bones
|examine = A local villager of Mort'ton.
}}
Loading...
Level 60Level 61Level 63Level 64
[FAQ] [doc]
[FAQ] [doc]
[FAQ] [doc]
[FAQ] [doc]
Community content is available under CC-BY-SA unless otherwise noted.