Template:Infobox file format/doc

From The Global Wiki
Jump to navigation Jump to search

Blank syntax

Script error: No such module "Parameter names example".

{{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 = 
| developer = 
| 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}} -->
| type = 
| container_for = 
| contained_by = 
| extended_from = 
| extended_to = 
| standard =                <!-- or: | standards = -->
| free = 
| open = 
| 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

APK
File:APK format icon (2014-2019).png
Filename extension<syntaxhighlight lang="text" class="" id="" style="" inline="1">.apk</syntaxhighlight>, <syntaxhighlight lang="text" class="" id="" style="" inline="1">.apks</syntaxhighlight>, <syntaxhighlight lang="text" class="" id="" style="" inline="1">.aab</syntaxhighlight>, <syntaxhighlight lang="text" class="" id="" style="" inline="1">.xapk</syntaxhighlight>, <syntaxhighlight lang="text" class="" id="" style="" inline="1">.apkm</syntaxhighlight>
Internet media type
<syntaxhighlight lang="text" class="" id="" style="" inline="1">application/vnd.android.package-archive</syntaxhighlight>
Type of formatPackage format
Container for
Extended fromJAR
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 release4 September 2001; Script error: No such module "Time ago". (2001-09-04)
Latest release
1.1 (Second Edition)
16 August 2011; Script error: No such module "Time ago". (2011-08-16)
Type of formatVector image format
Extended fromXML
StandardW3C SVG
Open format?Yes
Free format?Yes
WebsiteScript error: No such module "URL".

<syntaxhighlight lang="xml" style="margin-top:2.75em;overflow:auto;">

Scalable Vector Graphics
Filename extensions.svg, .svgz
Internet media typeimage/svg+xml[3][4]
Type code
  • "svg"
  • "svgz"
Uniform Type Identifier (UTI)public.svg-image
UTI conformationpublic.image
public.xml
Developed byW3C
Initial release4 September 2001; Script error: No such module "Time ago". (2001-09-04)
Latest release
1.1 (Second Edition)
16 August 2011; Script error: No such module "Time ago". (2011-08-16)
Type of formatVector image format
Extended fromXML
StandardW3C SVG
Open format?Yes
Free format?Yes
WebsiteScript error: No such module "URL".

</syntaxhighlight>

OpenDocument Text
ODF textdocument icon
Filename extension
.odt
Internet media type
application/vnd.
 oasis.opendocument.
 text
Uniform Type Identifier (UTI)org.oasis.
 opendocument.text
[5]
UTI conformationorg.oasis-open.
 opendocument

public.composite-
 content
Developed by
Type of formatDocument file format
Extended fromXML
StandardISO/IEC 26300:2006
Open format?Yes
Free format?Yes

<syntaxhighlight lang="xml" style="margin-top:2.0em;overflow:auto;">

OpenDocument Text
ODF textdocument icon
Filename extension
.odt
Internet media type
application/vnd.
&nbsp;oasis.opendocument.
&nbsp;text
Uniform Type Identifier (UTI)org.oasis.
&nbsp;opendocument.text
[6]
UTI conformationorg.oasis-open.
&nbsp;opendocument

public.composite-
&nbsp;content
Developed by
Type of formatDocument file format
Extended fromXML
StandardISO/IEC 26300:2006
Open format?Yes
Free format?Yes

</syntaxhighlight>

Parameters

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 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.
type
The type 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 format?
open
Is it an open format?
url
URL of the file format's website, specification, etc.
  1. (w3.org ref)
  2. (ietf.org ref)
  3. (w3.org ref)
  4. (ietf.org ref)
  5. (www.huw.id.au ref)
  6. (www.huw.id.au ref)

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox file format

Consistently-formatted table for presenting information about file formats

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Childchild

Settings this to "yes" allows the infobox to be embedded into another infobox. It also causes name parameter to be ignored.

Stringoptional
Namename

The name of the file format.

Default
Pagename
Linesuggested
Iconicon logo

An icon used by either the application that popularized the format or a common free icon.

Stringsuggested
Icon sizeicon_size logo_size

Size of the icon to show including a unit (most likely pixels - 'px').

Default
64px
Stringoptional
Icon captioniconcaption logocaption

Caption describing the icon.

Stringoptional
Screenshotscreenshot

A screenshot of the file format in use.

Stringoptional
Screenshot sizescreenshot_size

Size of the screenshot to show including a unit (most likely pixels - 'px').

Default
300px
Stringoptional
Captioncaption

Caption to the screenshot.

Stringoptional
Extensionextension

The format's filename extension, if only one.

Stringsuggested
Extensionsextensions

The format's filename extensions, if more than one.

Stringoptional
No code style in extension_noextcode

If set to 'true', then extensions won't be formatted using monospace font.

Stringoptional
MIME typemime

The MIME type of the file.

Stringsuggested
No code style in MIME_nomimecode

If set to 'true', then MIME won't be formatted using monospace font.

Stringoptional
Type codetype_code type code typecode

The type code of the file used by Mac OS Classic.

Stringoptional
Uniform Type Identifier (UTI)uniform_type uniform type

The Uniform Type Identifier, used by contemporary macOS computers and iOS devices.

Stringoptional
UTI conformationconforms_to conforms to

The immediate parents of the UTI. For example, public.png would conform to public.image.

Stringoptional
Magic numbermagic

A number or other data structure usually near the beginning of a file used to identify the file contents.

Stringoptional
Developed bydeveloper owner

The owner of the format.

Stringsuggested
Type of formattype

The type of the file format, what does it store (e.g. Vector image format).

Stringsuggested
Initial releasereleased

The date the format was publicly released.

Stringoptional
Latest release versionlatest_release_version latest release version

Latest version number of the format.

Stringoptional
Latest release datelatest_release_date latest release date

Date the latest version was released.

Stringoptional
Container forcontainer_for container for containerfor

Data type this file format is container for. For instance, audio and video data is often housed in a container like Quick Time or Matroska (MKV).

Stringoptional
Contained bycontained_by contained by containedby

File type this type is usually housed in. For instance, audio and video data is often housed in a container like Quick Time or Matroska (MKV).

Stringoptional
Extended fromextended_from extended from extendedfrom

The format that this one is based on, if any.

Stringoptional
Extended toextended_to extended to extendedto

The format that this one is base for, if any.

Stringoptional
Standardstandard

Standard this format is part of, if only one.

Stringoptional
Standardsstandards

Standards this format is part of, if more than one.

Stringoptional
Free format?free

Is it a free format?

Stringoptional
Open format?open

Is it an open format?

Stringoptional
Websiteurl

URL of the file format's website, specification, etc.

Stringsuggested

Tracking category