Template:Image Infobox
Jump to navigation
Jump to search
Image Infobox
There is no example of an image in this format — upload one!
Format type | Image |
---|---|
Hardware | Unknown |
Colour depth | Unknown |
Minimum size (pixels) | Unknown |
Maximum size (pixels) | Unknown |
Palette | Unknown |
Plane count | Unknown |
Transparent pixels? | Unknown |
Hitmap pixels? | Unknown |
Games | None |
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 |
---|---|---|
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:
|
Depth = Value | Colour depth | Example values:
|
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? |
|
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")