Template:Tileset Infobox

From ModdingWiki
Jump to navigation Jump to search
Tileset Infobox
There is no image of a tileset in this format — upload one!
Format typeTileset
Max tile countUnknown
Tile names?Unknown
Minimum tile size (pixels)Unknown
Maximum tile size (pixels)Unknown
Plane countUnknown
Plane arrangementUnknown
Transparent pixels?Unknown
Hitmap pixels?No
Supports sub-tilesets?No
Compressed tiles?No
Hidden data?No

This template is used to display an information box containing details about a tileset file format. See Cosmo Tileset Format for example use.

Valid parameters and examples are:

Parameter/example Purpose Valid values
Image = File.png Override default image filename Do not use this unless the default image filename cannot match the page title for technical reasons
ImageNativeWidth = Y Use the image's native width instead of fixing it at 320 pixels wide Set to Y if the image is smaller than 320 pixels wide, otherwise omit this parameter (default is N)
Hardware1 = Value
Hardware3 = Value
Hardware intended to be used to display the tiles in this tileset One of:
  • CGA
  • EGA
  • VGA
(add new types to this page as required)
MaxTiles = 123 Maximum number of tiles that can be stored in the tileset A number or Unlimited
Palette = Value Does the tileset have a palette?
  • Internal (palette is stored inside the tileset file)
  • External (Palette is stored in another file dedicated to this tileset. Please specify with a link. Do not use this if the palette is shared among multiple images.)
  • Shared (A standard palette is used, e.g. a main game palette. Whether that is loaded from a file is irrelevant.)
  • Per-tile (Each tile has its own palette.)
  • N/A (Tiles are not an indexed colour format, so they don't need a palette)
  • Default EGA (Tiles use the default EGA palette.)
  • Hardcoded (Palette is managed by game code. This could still be based on a loaded palette file, but the actual used colours for the tileset are not easily edited)
Names = Yes, 11 chars Does the format store a name for each tile? If yes specify maximum name length (not including any terminating NULL characters), otherwise use the special value N for no (this sets the categories appropriately)
TileMinSize = 16×16 Minimum size of a tile, in pixels Smallest valid width and height, use "×" for the X with no spaces either side
TileMaxSize = 320×200 Maximum size of image, in pixels Width and height, use "×" for the X with no spaces either side
NumPlanes = 1 Number of colour planes Normally 1, but could be up to 6 for EGA with transparency and hitmapping
PlaneArrangement = [[Raw EGA data#Graphic-planar EGA data|Graphic-planar]] How the planes are arranged Linear or a link to the page describing the arrangement
HasTransparency = Y Does the image support transparency? Y, N or P only. Set to Y if pixels can be set as transparent independently of the palette (e.g. there is a mask layer). Set to P for palette-based transparency, used if transparency is based on certain colours in the palette being transparent.
HasHitmap = N Is hitmap data stored? Y or N only. Set to Y if the image stores which pixels count as a hit and which do not (a bounding rectangle counts as a Y)
Metadata = Title Does the format have any metadata tags? None or list of supported tags
Subtilesets = Y Can more tilesets be placed inside this tileset? Y or N only (used for categories, do not use other values)
Compressed = Y Can tiles be compressed inside the tileset? Y or N only (used for categories, do not use other values.) Use N if the whole tileset is compressed (e.g. it is inside a compressed archive file), as this refers to the tiles only.
Hidden = Y Can data be hidden between tiles without affecting them? (usually only possible with tilesets storing both tile offsets and sizes) Y or N only (used for categories, do not use other values)
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")