Template:Font Infobox

From ModdingWiki
Jump to navigation Jump to search
Font Infobox
There is no image of a font in this format — upload one!
Format typeFont
Max glyph countUnknown
Minimum glyph size (pixels)Unknown
Maximum glyph size (pixels)Unknown
Access modeUnknown
Metadata?Unknown
Bitmap glyphs?No
Vector glyphs?No
Compressed glyphs?No
Hidden data?No
GamesNone

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)
MaxGlyphs = 123 Maximum number of glyphs that can be stored in the font A number or Unlimited
GlyphMinSize = 16×16 Minimum size of a glyph, in pixels Smallest valid width and height, use "×" for the X with no spaces either side. Use Unlimited for vector glyphs.
GlyphMaxSize = 320×200 Maximum size of a glyph, in pixels Width and height, use "×" for the X with no spaces either side. Use Unlimited for vector glyphs.
Metadata = Title Does the format have any metadata tags? None or list of supported tags
Access = value How are the glyphs accessed? Indexed or Sequential only. (Used for categories, do not use other values.) Fonts with fixed-size data, where the locations of all data can be found with some simple calculations, can be considered 'indexed', even if they don't contain an explicit index. Sequential means you need to read the data of all glyph entries one by one to access the ones that are stored later in the file.
Bitmap = Y Can glyphs be made from bitmapped (pixel) data? Y or N only. (Used for categories, do not use other values.)
Vector = Y Can glyphs be made from vector data? Y or N only. (Used for categories, do not use other values.)
Compressed = Y Can glyphs be compressed inside the tileset? Y or N only. (Used for categories, do not use other values.) Use N if the whole font is compressed (e.g. it is inside a compressed archive file), as this value refers to the individual glyphs only.
Hidden = Y Can data be hidden between glyph entries without affecting them? (usually only possible with formats storing both 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")