Template:Infobox file/doc

From SlyMods
Jump to navigation Jump to search

An infobox template for files used in the games. It automatically categorizes the article based on the namespace.

Usage

example.bin
File
Typebinary data
Size10 bytes
CompressedNo
{{Infobox file
| name= example.bin
| type= binary data
| size= 10 bytes
| compressed= n
}}

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Infobox file

An infobox for articles about files used in the games.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
filenamename

Official file name

Stringoptional
file typetype

What type of file is it

Example
BRX
Stringoptional
extensionext

File extension (if not included in name)

Example
wav
Stringoptional
file sizesize

no description

Numberoptional
compressedcompressed

Either y or n

Example
n
Booleanoptional
imageimage

no description

Fileoptional