Template:Image Infobox

From ModdingWiki
Jump to: navigation, search
Image Infobox
320px
There is no example of an image in this format — upload one!
Format typeImage
HardwareUnknown
Colour depthUnknown
Minimum size (pixels)Unknown
Maximum size (pixels)Unknown
PaletteUnknown
Plane countUnknown
Transparent pixels?Unknown
Hitmap pixels?Unknown
GamesNone

This template is used to display an information box containing details about a map format. See PCX Format for example use.

Valid parameters and examples are:

Parameter/example Purpose Valid values
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)
Depth = Value Colour depth Example values:
  • 1-bit (monochrome)
  • 2-bit (CGA)
  • 4-bit (EGA)
  • 8-bit (VGA)
  • 24-bit (true colour)
(add other values here as needed)
MinSize = 16×16 Minimum size of image, in pixels Smallest valid width and height, use "×" for the X with no spaces either side
MaxSize = 320×200 Maximum size of image, in pixels Width and height, use "×" for the X with no spaces either side
Palette = Value Does the image have a palette?
  • Internal (palette is stored inside image file)
  • External (palette is stored in another file dedicated to this image, 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)
  • N/A (image stores RGB values so doesn't need a palette)
  • Default EGA (image uses default EGA palette)
NumPlanes = 1 Number of colour planes Normally 1, but could be up to 6 for EGA with transparency and hitmapping
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 image being transparent.
HasHitmap = No Hitmap yes or no Set to yes if the image stores which pixels count as a hit and which do not (a bounding rectangle counts as a yes)
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")