模板:Infobox file format/doc

使用方式

name
[[File:{{{icon}}}|64px]]
iconcaption
[[File:{{{screenshot}}}|300px]]
caption
副檔名
extension[s]
網路媒體型式
mime
類型代碼英語Type codetypecode
統一類型標識uniform type
UTI結構conforms_to
體積限制max_size
開發者developer
首次發布{{start date and age |…}}
最新版本
latest_release_version
{{start date and age |…}}
格式類型type
作為容器containerfor
使用容器containedby
延伸自extendedfrom
延伸為extendedto
標準standard  (standards)
自由格式open
免費格式?free
網站url
{{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 = 
| max_size = 
| developer = 
| released =                <!-- {{start date and age|YYYY|mm|dd/no}} -->
| latest_release_version = 
| latest_release_date =     <!-- {{start date and age|YYYY|mm|dd/no}} -->
| type = 
| container_for = 
| contained_by = 
| extended_from = 
| extended_to = 
| standard =                <!-- or: | standards = -->
| free = 
| open = 
| url = 
}}

範例

Scalable Vector Graphics
SVG logo
副檔名.svg, .svgz
網路媒體型式image/svg+xml[1][2]
類型代碼英語Type code
  • "svg"
  • "svgz"
統一類型標識public.svg-image
UTI結構public.image
public.xml
開發者W3C
首次發布2001年9月4日,​23年前​(2001-09-04
最新版本
1.1 (Second Edition)
2011年8月16日,​13年前​(2011-08-16
格式類型矢量圖像格式
延伸自XML
標準W3C SVG
免費格式?
網站www.w3.org/Graphics/SVG/
{{Infobox file format
| name = Scalable Vector Graphics
| icon = [[File:SVG logo.svg|frameless|SVG logo]]
| 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 = [[World Wide Web Consortium|W3C]]
| released = {{start date and age|2001|09|04}}
| latest_release_version = 1.1 (Second Edition)
| latest_release_date = {{start date and age|2011|08|16}}
| genre = [[矢量图像格式]]
| container_for = | contained_by = 
| extended_from = [[XML]]
| extended_to = 
| standard = [http://www.w3.org/TR/SVG/ W3C SVG]
| free = Yes
| url = {{URL|http://www.w3.org/Graphics/SVG/}}
}}
OpenDocument Text
ODF textdocument icon
副檔名
.odt
網路媒體型式
application/vnd.
 oasis.opendocument.
 text
統一類型標識org.oasis.
 opendocument.text
[3]
UTI結構org.oasis-open.
 opendocument

public.composite-
 content
開發者
格式類型Document file format
延伸自XML
標準ISO/IEC 26300:2006
免費格式?Yes
{{Infobox file format
| name = OpenDocument Text
| icon = [[File:ODF textdocument 48x48.png|ODF textdocument icon]]
| screenshot = | caption = 
| extension = .odt
| mime = application/vnd.<br/>&nbsp;oasis.opendocument.<br/>&nbsp;text
| type_code = 
| uniform_type = <code>org.oasis.<br/>&nbsp;opendocument.text</code><ref>(www.huw.id.au ref)</ref>
| conforms_to = {{nowrap|<code>org.oasis-open.<br/>&nbsp;opendocument</code><br/><code>public.composite-<br/>&nbsp;content</code>}}
| magic = 
| developer = {{hlist |[[Sun Microsystems]] |[[OASIS (organization)|OASIS]]}}
| released = 
| latest_release_version = | latest_release_date = 
| genre = [[Document file format]]
| container_for = | contained_by = 
| extended_from = [[XML]]
| extended_to = 
| standard = ISO/IEC 26300:2006
| free = [[OpenDocument#Licensing|Yes]]
| url = 
}}

模板資料

以下是該模板的模板資料,適用於視覺化編輯器等工具。

Infobox file format模板資料

Consistently-formatted table for presenting information about file formats

模板參數

此模板有自訂格式。

參數描述類型狀態
Childchild

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

字串非必填
Namename

The name of the file format.

預設
Pagename
建議
Iconicon logo

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

字串建議
Icon sizeicon_size logo_size

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

預設
64px
字串非必填
Icon captioniconcaption logocaption

Caption describing the icon.

字串非必填
Screenshotscreenshot

A screenshot of the file format in use.

字串非必填
Screenshot sizescreenshot_size

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

預設
300px
字串非必填
Captioncaption

Caption to the screenshot.

字串非必填
Extensionextension

The format's filename extension, if only one.

字串建議
Extensionsextensions

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

字串非必填
No code style in extension_noextcode

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

字串非必填
MIME typemime

The MIME type of the file.

字串建議
No code style in MIME_nomimecode

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

字串非必填
Type codetype_code type code typecode

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

字串非必填
Uniform Type Identifier (UTI)uniform_type uniform type

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

字串非必填
UTI conformationconforms_to conforms to

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

字串非必填
Magic numbermagic

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

字串非必填
Size limitationmax_size

The highest size a file can have. On compressed archives, it may refer to the content size or the size of the archive file itself.

字串非必填
Developed bydeveloper owner

The owner of the format.

字串建議
Type of formattype

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

字串建議
Initial releasereleased

The date the format was publicly released.

字串非必填
Latest release versionlatest_release_version latest release version

Latest version number of the format.

字串非必填
Latest release datelatest_release_date latest release date

Date the latest version was released.

字串非必填
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).

字串非必填
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).

字串非必填
Extended fromextended_from extended from extendedfrom

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

字串非必填
Extended toextended_to extended to extendedto

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

字串非必填
Standardstandard

Standard this format is part of, if only one.

字串非必填
Standardsstandards

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

字串非必填
Free format?free

Is it a free format?

字串非必填
Open format?open

Is it an open format?

字串非必填
Websiteurl

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

字串建議

追蹤分類


  1. ^ (w3.org ref)
  2. ^ (ietf.org ref)
  3. ^ (www.huw.id.au ref)