Template:Map Infobox

From ModdingWiki
Jump to navigation Jump to search
Map Infobox
320px
There is no image of a map in this format — upload one!
Format typeMap/level
Map typeUnknown
Layer countUnknown
GamesNone

This template is used to display an information box containing details about a map format. See GMF Format (Halloween Harry) for example use.

Valid parameters and examples are:

Parameter/example Purpose Valid values
Image = Map.png Image showing a map in this format Use the default name wherever possible (i.e. do not use this option unless you have to)
Type = Value Type of map One of:
  • 2D tile-based (e.g. for side scrollers)
  • 2D cell-based (top down map, e.g. for strategy / dungeon explorer games where movement is per cell)
  • 3D sector-based (3D FPS with area information)
  • Pixel image (an image defines the map)
(add new types to this page as required)
Layers = 5 Number of layers For example a map with a foreground and background layer would have 2 here.
Tile size = 16×16 Size of each tile, in pixels (generally for tile-based maps, though could be added to cell-based maps as extra info) Tile width and height. Use "×" for the X with no spaces either side
Viewport = 320×200 Size of a tile-based map's area visible during gameplay, in pixels (usually for tile-based maps only) Width and height, use "×" for the X with no spaces either side
Cell dimensions = 64×64 Cell dimensions of the full map (cell-based maps only) Width and height in cells. Use "×" for the X with no spaces either side
Cell viewport = 10×8 Amount of cells visible on the screen (cell-based maps only) Width and height in cells. Use "×" for the X with no spaces either side
Games = {{Game|GameName}} {{Game|GameName}} Name of all games that use this format Any wiki page name, as a parameter to the Game template

Default values are shown if the parameter is omitted, so do not use any parameters unless the value is known (most of the defaults say "unknown")