Template:Palette Infobox

From ModdingWiki
Jump to: navigation, search
Palette Infobox
Format typePalette
Colour depthUnknown
Number of coloursUnknown

This template is used to display an information box containing details about a palette format. See Hocus Pocus Palette Format for example use.

Valid parameters and examples are:

Parameter/example Purpose Valid values
Hardware = Value Hardware intended to be used with this palette One of:
  • CGA
  • EGA
  • VGA
(add new types to this page as required)
Depth = 18-bit Number of bits per colour Typical values are:
  • 24-bit for an 8-bit RGB palette
  • 18-bit for a 6-bit RGB VGA palette
  • 6-bit for a 64-colour EGA palette
Count = 256 Number of colour cells stored in the palette Typically this would be 256 for a VGA palette, but some palette formats are used to update only a section of the main palette, so in these cases the value would be less.
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")