Template:Infobox file format

维基百科,自由的百科全书
跳到导航 跳到搜索
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

使用方式[编辑]

{{{name}}}
[[File:{{{icon}}}|64px]]
{{{iconcaption}}}
[[File:{{{screenshot}}}|300px]]
{{{caption}}}
扩展名{{{extension}}}
互联网媒体类型{{{mime}}}
类型代码英语Type code{{{typecode}}}
统一类型标识{{{uniform type}}}
UTI结构{{{conforms to}}}
特征签名{{{magic}}}
开发者{{{developer}}}
初始版本{{{released}}}
最新版本
{{{latest_release_version}}}
({{{latest_release_date}}})
格式类型{{{genre}}}
專門屬{{{containerfor}}}
專門由{{{containedby}}}
延伸自{{{extendedfrom}}}
延伸成{{{extendedto}}}
标准{{{standard}}}
自由格式{{{free}}}
网站{{{url}}}
{{Infobox file format
| name = 
| icon = 
| iconcaption = 
| screenshot = 
| caption = 
| extension = 
| mime = 
| typecode = 
| uniform type = 
| conforms to = 
| magic = 
| developer = 
| released = 
| latest_release_version = 
| latest_release_date = 
| genre = 
| containerfor = 
| containedby = 
| extendedfrom = 
| extendedto = 
| standard = 
| free = 
| 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日,​19年前​(2001-09-04
最新版本
1.1 (Second Edition)
(2011年8月16日,​9年前​(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|df=yes}}
| latest_release_version = 1.1 (Second Edition)
| latest_release_date = {{start date and age|2011|08|16|df=yes}}
| 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
推荐
Iconiconlogo

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

字符串推荐
Icon captioniconcaptionlogocaption

Caption describing the icon.

字符串可选
Icon sizeicon_sizelogo_size

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

默认值
64px
字符串可选
Screenshotscreenshot

A screenshot of the file format in use.

字符串可选
Captioncaption

Caption to the screenshot.

字符串可选
Screenshot sizescreenshot_size

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

默认值
300px
字符串可选
Extensionextension

The format's filename extension, if only one.

字符串推荐
Extensionsextensions

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

字符串可选
No <code> in extension_noextcode

If set to 'true', then extensions won't be formatted using <code>.

字符串可选
MIME typemime

The MIME type of the file.

字符串推荐
No <code> in MIME_nomimecode

If set to 'true', then MIME won't be formatted using <code>.

字符串可选
Type codetype_codetype code typecode

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

字符串可选
Uniform Type Identifier (UTI)uniform_typeuniform type

The Uniform Type Identifier, used by contemporary Mac OS X computers and iOS devices.

字符串可选
UTI conformationconforms_toconforms 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.

字符串可选
Developed bydeveloperowner

The owner of the format.

字符串推荐
Type of formattypegenre

The type of the file format, what does it store (例如矢量图像格式).

字符串推荐
Initial releasereleased

The date the format was publicly released.

字符串可选
Latest release versionlatest_release_versionlatest release version

Latest version number of the format.

字符串可选
Latest release datelatest_release_datelatest release date

Date the latest version was released.

字符串可选
Container forcontainer_forcontainer 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_bycontained 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_fromextended from extendedfrom

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

字符串可选
Extended toextended_toextended 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.

字符串可选
Open format?free

Is it a free/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)