Template:Archive Infobox

From ModdingWiki
Jump to navigation Jump to search
Archive Infobox
Format typeArchive
Max filesUnknown
File Allocation Table (FAT)Unknown
Filenames?Unknown
Metadata?Unknown
Supports compression?No
Supports encryption?No
Supports subdirectories?No
Hidden data?No
GamesNone

This template is used to display an information box containing details about an archive file format. See GRP Format for example use.

Valid parameters and examples are:

Parameter/example Purpose Valid values
MaxFiles = 123 Maximum number of files that can be stored in the archive A number or Unlimited
FAT = Embedded Where is the FAT?
  • Embedded (no FAT as such, but a small header in front of each file)
  • Beginning (FAT sits at start of archive)
  • End (FAT sits at end of archive)
  • Internal (FAT can sit anywhere within the archive)
  • External (FAT is stored in a separate file outside the archive)
Names = Yes, 8.3 chars Does the format store a name for each file? 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)
Metadata = Title Does the format have any metadata tags? None or list of supported tags
Subdirectories = Y Can files be put into subdirectories? (this is N for archives which simply store the path in the filename) Y or N only (used for categories, do not use other values)
Compressed = Y Can files be compressed inside the archive? Y or N only (used for categories, do not use other values)
Encrypted = Y Can files, or filenames, be encrypted inside the archive? Y or N only (used for categories, do not use other values)
Hidden = Y Can data be hidden between files without affecting them? (usually only possible with archives storing both file 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")