Template:Infobox file format

From LinuxReviews
Jump to navigationJump to search
Template documentation[view] [edit] [history] [purge]

Blank syntax[edit]

name
[[File:{{{icon}}}|64px]]
iconcaption
[[File:{{{screenshot}}}|300px]]
caption
Filename extension
extension[s]
Internet media type
mime
Type codetypecode
Uniform Type Identifier (UTI)uniform type
UTI conformationconforms to
Magic numbermagic
Organizationorganization
Developed bydeveloper
Announcedannounced
Initial release{{start date and age |…}}
Latest release
latest_release_version
({{start date and age |…}})
Type of formatgenre
Container forcontainerfor
Contained bycontainedby
Extended fromextendedfrom
Extended toextendedto
Standardstandard  (standards)
Open format?free
Specificationspecification
Websiteurl
{{Infobox file format
| name =
| icon = 
| iconcaption = 
| icon_size = 
| screenshot = 
| screenshot_size = 
| caption = 
|_noextcode = 
| extension =               <!-- or: | extensions = -->
|_nomimecode = 
| mime = 
| type_code = 
| uniform_type = 
| conforms_to = 
| magic = 
| organization =
| developer = 
| announced =
| released =                <!-- {{start date and age|YYYY|mm|dd|df=yes/no}} -->
| latest_release_version = 
| latest_release_date =     <!-- {{start date and age|YYYY|mm|dd|df=yes/no}} -->
| genre = 
| container_for = 
| contained_by = 
| extended_from = 
| extended_to = 
| standard =                <!-- or: | standards = -->
| free = 
| specification =
| url = 
}}

By default, extension and mime are displayed using <code>...</code>; to disable this (in order to customize their formatting), assign _noextcode and/or _nomimecode a value ("on", "true", etc.).

Examples[edit]

Scalable Vector Graphics
Filename extensions.svg, .svgz
Internet media typeimage/svg+xml[1][2]
Type code
  • "svg"
  • "svgz"
Uniform Type Identifier (UTI)public.svg-image
UTI conformationpublic.image
public.xml
Developed byW3C
Initial releaseSeptember 4, 2001; 20 years ago (2001-09-04)
Latest release
1.1 (Second Edition)
(August 16, 2011; 10 years ago (2011-08-16))
Type of formatVector image format
Extended fromXML
StandardW3C SVG
Open format?Yes
Websitewww.w3.org/Graphics/SVG/
{{Infobox file format
| name = Scalable Vector Graphics
| icon = 
| iconcaption = | screenshot = | caption = 
|_noextcode = on
| extensions = .svg, .svgz
|_nomimecode = on
| mime = image/svg+xml<ref>(w3.org ref)</ref><ref>(ietf.org ref)</ref>
| type_code = {{hlist |"svg" |"svgz"}}
| uniform_type = <code>public.svg-image</code>
| conforms_to = <code>public.image</code><br/><code>public.xml</code>
| magic = 
| developer = W3C
| released = {{start date and age|2001|09|04|df=yes}}
| latest_release_version = 1.1 (Second Edition)
| latest_release_date = {{start date and age|2011|08|16|df=yes}}
| genre = Vector image format
| container_for = | contained_by = 
| extended_from = XML
| extended_to = 
| standard = [http://www.w3.org/TR/SVG/ W3C SVG]
| free = Yes
| specification =
| url = {{URL|http://www.w3.org/Graphics/SVG/}}
}}

Parameters[edit]

name
The name of the file format.
icon
A file icon used by either the application that popularized the format or a common free icon. Alias is |logo=.
iconcaption
caption describing the icon.
screenshot
A screen shot of the file format in use.
caption
caption to the screen shot.
extension (or extensions)
The format's filename extension or extensions. Set |_noextcode= to disable the default monospace font.
mime
The MIME type of the file. Set |_nomimecode= to disable the default monospace font.
type_code
The type code of the file, used by Mac OS Classic.
uniform type
The Uniform Type Identifier, used by contemporary macOS computers and iOS devices.
conforms to
The immediate parents of the UTI. For example, public.png would conform to public.image
magic
A Magic number|number or other data structure usually near the beginning of a file used to identify the file contents.
owner
The owner of the format.
released
The date the format was publicly released.
latest_release_version
Latest version number of the format.
latest_release_date
Date the latest version was released.
genre
The genre of the file format.
containerfor
If the file is a container for another data type, list it here.
containedby
If the file type is typically housed in another file type, list it here. For example: Audio and video data are most often housed in a media container such as QuickTime et al.
extendedfrom
If the file format is based on another, list it here.
extendedto
If a new format is derived from this one, list it here.
standard (or standards)
If the format is part of a standard or standards, list it/them here.
free
Is it a free/open format?
specification
Link to specification, if any
url
URL of the file format's website, specification, etc.
  1. (w3.org ref)
  2. (ietf.org ref)