Skip to main content
MPStorysMAPLESTORY SERIES HUB

Template:Infobox track

From the MapleStory Classic Wiki, mirrored inside MPStorys

Template:Infobox track displays the structured stat block for a music track entity, stores all fields in the Cargo tracks table, and categorises the page.

Usage

{{Infobox track
| id           = 1
| name_en      = When the Morning Comes
| composer     = Asteria
| length       = 3:07
| year         = 2003
| album        = MapleStory Original Soundtrack
| file         = When-the-morning-comes.ogg
| image        = Maplestory-ost-cover.png
| game_version = pre-launch
}}

The infobox renders the track title in italics, optional album art at 240px, an inline HTML5 audio player (when file is set), and a stat block for composer, length, year, and album.

Parameters

Parameter Type Required Description
id Integer Recommended Sequential ID for the track. Useful for sortable queries.
name_en String Recommended English track title. Falls back to Infobox track when omitted.
name_ko String No Korean title
name_zh String No Chinese title
name_ja String No Japanese title
composer String Recommended Composer's name (e.g. Asteria for many classic MapleStory tracks)
length String Recommended Duration in mm:ss format. Stored as a string for simplicity; if sortable-by-length queries are needed later, refactor to an Integer length_seconds field.
year Integer No Release year of the track or the game patch it shipped with
album String No Album / OST name if the track is part of a collection (rendered in italics)
file File Recommended Filename of the uploaded audio (e.g. When-the-morning-comes.ogg). Renders as an inline HTML5 audio player at 240px width. Supports .ogg, .opus, .mp3, .m4a, .wav per $wgFileExtensions.
image File No Album cover, visualizer, or composer photo. Rendered at 240px.
game_version String Recommended Patch the data was verified against
stub Boolean No Adds

Cargo table: tracks

This template declares and stores data in the tracks Cargo table. See Special:CargoTables/tracks to inspect the live schema. The table can be queried alongside Special:CargoTables/maps to render "Played in" lists on track pages.

Post-save ritual

After any change to the #cargo_declare block:

  1. Save the template
  2. Visit Template:Infobox track in a browser once
  3. Run Cargo's cargoRecreateData.php --table=tracks maintenance script

Categories auto-added by this template

  • — always
  • — when |stub=yes