Template:Infobox file format
| 此模板使用Lua语言: |
使用方式
[编辑]| [[File:{{{icon}}}|64px]] iconcaption | |
| [[File:{{{screenshot}}}|300px]] caption | |
| 扩展名 |
extension[s] |
|---|---|
| 互联网媒体类型 |
mime |
| 类型代码 | typecode |
| 统一类型标识 | 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 =
}}
範例
[编辑]SVG logo | |
| 扩展名 | .svg, .svgz |
|---|---|
| 互联网媒体类型 | image/svg+xml[1][2] |
| 类型代码 |
|
| 统一类型标识 | public.svg-image |
| UTI结构 | public.imagepublic.xml |
| 开发者 | W3C |
| 首次发布 | 2001年9月4日 |
| 最新版本 | 1.1 (Second Edition) 2011年8月16日 |
| 格式类型 | 矢量图形 |
| 扩展自 | XML |
| 标准 | W3C SVG |
| 免费格式? | 是 |
| 网站 | www |
{{Infobox file format
| name = Scalable Vector Graphics
| icon = SVG logo.svg
| iconcaption = SVG logo
| 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/}}
}}
![]() ODF textdocument icon | |
| 扩展名 |
.odt |
|---|---|
| 互联网媒体类型 |
application/vnd. oasis.opendocument. text |
| 统一类型标识 | org.oasis.[3] |
| UTI结构 | org.oasis-open.public.composite- |
| 开发者 | |
| 格式类型 | 文件檔案格式 |
| 扩展自 | XML |
| 标准 | ISO/IEC 26300:2006 |
| 免费格式? | Yes |
{{Infobox file format
| name = OpenDocument Text
| icon = ODF textdocument 48x48.png
| iconcaption = 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]]}}
| released =
| latest_release_version = | latest_release_date =
| genre = [[文件檔案格式]]
| container_for = | contained_by =
| extended_from = [[XML]]
| extended_to =
| standard = ISO/IEC 26300:2006
| free = [[OpenDocument#Licensing|Yes]]
| url =
}}
模板資料
[编辑]Consistently-formatted table for presenting information about file formats
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Child | child | Settings this to "yes" allows the infobox to be embedded into another infobox. It also causes name parameter to be ignored. | 字符串 | 可选 |
| Name | name | The name of the file format.
| 单行文本 | 推荐 |
| Icon | icon logo | An icon used by either the application that popularized the format or a common free icon. | 字符串 | 推荐 |
| Icon size | icon_size logo_size | Size of the icon to show including a unit (most likely pixels - 'px').
| 字符串 | 可选 |
| Icon caption | iconcaption logocaption | Caption describing the icon. | 字符串 | 可选 |
| Screenshot | screenshot | A screenshot of the file format in use. | 字符串 | 可选 |
| Screenshot size | screenshot_size | Size of the screenshot to show including a unit (most likely pixels - 'px').
| 字符串 | 可选 |
| Caption | caption | Caption to the screenshot. | 字符串 | 可选 |
| Extension | extension | The format's filename extension, if only one. | 字符串 | 推荐 |
| Extensions | extensions | 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 type | mime | 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 code | type_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 conformation | conforms_to conforms to | The immediate parents of the UTI. For example, public.png would conform to public.image. | 字符串 | 可选 |
| Magic number | magic | A number or other data structure usually near the beginning of a file used to identify the file contents. | 字符串 | 可选 |
| Size limitation | max_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 by | developer owner | The owner of the format. | 字符串 | 推荐 |
| Type of format | type | The type of the file format, what does it store (e.g. Vector image format). | 字符串 | 推荐 |
| Initial release | released | The date the format was publicly released. | 字符串 | 可选 |
| Latest release version | latest_release_version latest release version | Latest version number of the format. | 字符串 | 可选 |
| Latest release date | latest_release_date latest release date | Date the latest version was released. | 字符串 | 可选 |
| Container for | container_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 by | contained_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 from | extended_from extended from extendedfrom | The format that this one is based on, if any. | 字符串 | 可选 |
| Extended to | extended_to extended to extendedto | The format that this one is base for, if any. | 字符串 | 可选 |
| Standard | standard | Standard this format is part of, if only one. | 字符串 | 可选 |
| Standards | standards | 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? | 字符串 | 可选 |
| Website | url | URL of the file format's website, specification, etc. | 字符串 | 推荐 |
