Skip to main content
MPStorysMAPLESTORY SERIES HUB

Template:Infobox monster

From the MapleStory Classic Wiki, mirrored inside MPStorys

Template:Infobox monster displays the structured stat block for a monster entity, stores all fields in the Cargo monsters table, and automatically categorises the page.

Visual layout

The infobox is divided into named sections. Each section is suppressed entirely (including its header) when every field inside it is empty — editors do not need to do anything special to hide a section.

Section Fields included Layout
(title) Localized name (name_en/ko/zh/ja) Single bold title bar
(image) image Centered sprite
(description) description_en/ko/zh/ja Italic flavor text, suppressed if all four are empty
(level banner) level Large prominent number, suppressed if empty
Combat info hp, mp, exp Horizontal three-column layout; each empty column shows —
Offense weapon_attack, magic_attack Standard label/value rows
Defense physical_defense, magic_defense, accuracy, avoidability, speed Standard label/value rows
Element element_attack, element_weak, element_resist Standard label/value rows
(location row) primary_location Single labeled row, links via ...
(region row) region Single labeled row rendered immediately below the location row; links to the region page
(flags) boss, undead Unlabeled rows, no section header
(footer) game_version Muted data-verification line

Usage

Place the template at the very top of the monster page, before any prose:

{{Infobox monster
|id              = 100100
|name_en         = Snail
|name_ko         = 달팽이
|name_zh         = 蜗牛
|name_ja         = カタツムリ
|description_en  = A harmless snail that wanders the beaches of Maple Island.
|level           = 1
|hp              = 8
|mp              = 0
|exp             = 3
|weapon_attack   = 4
|magic_attack    = 0
|physical_defense = 0
|magic_defense   = 0
|accuracy        = 5
|avoidability    = 0
|speed           = -10
|element_attack  = Neutral
|element_weak    = Fire
|element_resist  = Ice
|boss            = no
|undead          = no
|image           = snail.png
|primary_location = Snail's House
|region          = Maple Island
|game_version    = 2024-11-01
}}

Stub example

If the page has an infobox but no body prose yet, add |stub=yes:

{{Infobox monster
|id       = 100100
|name_en  = Snail
|level    = 1
|hp       = 8
|exp      = 3
|stub     = yes
}}

This renders a stub banner, adds , and is otherwise identical.

Parameters

Parameter Type Required Description
id Integer Yes Game's internal monster ID (e.g. 100100)
name_en String Recommended English display name. Falls back to Infobox monster if omitted.
name_ko String No Korean display name, shown when the reader's UI language is Korean
name_zh String No Chinese display name
name_ja String No Japanese display name
description_en Text No English flavor text shown in italics below the image. Suppressed entirely if all four description fields are empty.
description_ko Text No Korean flavor text. Falls back to description_en if this language is active but the field is empty.
description_zh Text No Chinese flavor text. Falls back to description_en.
description_ja Text No Japanese flavor text. Falls back to description_en.
level Integer Recommended Monster level, shown in a large level banner. Row suppressed if empty.
hp Integer Recommended Maximum HP; rendered with comma thousands separator
mp Integer No Maximum MP; shows — in the Combat info row when empty (but only if at least one of hp/mp/exp is set)
exp Integer Recommended EXP awarded on kill; rendered with comma thousands separator
weapon_attack Integer No Physical attack stat
magic_attack Integer No Magic attack stat
physical_defense Integer No Physical defense stat
magic_defense Integer No Magic defense stat
accuracy Integer No Accuracy stat
avoidability Integer No Avoidability stat
speed Integer No Speed stat (can be negative)
element_attack String No Element of the monster's own attacks. One of: Fire, Ice, Lightning, Poison, Holy, Dark, Neutral
element_weak String No Element the monster is weak against
element_resist String No Element the monster resists
primary_location Page No Canonical first-encounter map name (e.g. Snail's House). Rendered as a map link via .... Row suppressed if empty.
region String No Region this monster is primarily found in. One of: Maple Island, Victoria Island, Ossyria. Rendered as a link to the region page. Used for the "Browse monsters by region" facet on the Monsters landing. Row suppressed if empty.
boss Boolean No yes if this is a boss. Adds "Boss: Yes" row and
undead Boolean No yes if undead. Adds "Undead: Yes" row and
image File No Filename of the monster sprite (e.g. snail.png). Do not include the File: prefix.
game_version String Recommended Patch version this data was verified against, in YYYY-MM-DD or 1.0.0 format. Shown in the infobox footer.
stub Boolean No Set yes to render a stub banner and add

Cargo table: monsters

This template declares and stores data in the monsters Cargo table. All twenty-eight fields above (excluding stub, which is display-only) correspond exactly to columns in that table. See Special:CargoTables/monsters to inspect the live schema.

Post-save ritual

After any change to the #cargo_declare block (schema changes only, not wikitext changes):

  1. Save the template
  2. Visit Template:Infobox monster in a browser once — the page must render to register the declaration
  3. Run Cargo's cargoRecreateData.php --table=monsters maintenance script

This ritual is required now because a new field was added to the schema (region).

Categories auto-added by this template

  • — always
  • — when |boss=yes
  • — when |undead=yes
  • — when |stub=yes