Difference between revisions of "Template:Infobox file format/doc"

From blackwiki
Jump to navigation Jump to search
imported>Reza1615
imported>Filedelinkerbot
(Bot: Removing Commons:File:SVG logo.svg (en). It was deleted on Commons by JuTa (No OTRS permission for 30 days).)
 
(85 intermediate revisions by 36 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
+
<!----EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE---->
=== Usage ===
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
<pre>
+
 
 +
== Blank syntax ==
 +
{{Generic template demo |_display=italics
 +
|name |icon={{{icon}}} |iconcaption |screenshot={{{screenshot}}} |caption
 +
|extension=''extension''[''s''] |mime |typecode |uniform type |conforms to |magic |developer
 +
|released=<span style{{=}}"font-size:90%;white-space:nowrap;"><nowiki>{{start date and age |…}}</nowiki></span> |latest_release_version
 +
|latest_release_date=<span style{{=}}"font-size:90%;white-space:nowrap;"><nowiki>{{start date and age |…}}</nowiki></span>
 +
|genre |containerfor |containedby |extendedfrom |extendedto |standard={{nowrap|''standard'' &nbsp;(''standards'')}} |free |url
 +
}}
 +
 
 +
<pre style="overflow:auto;">
 
{{Infobox file format
 
{{Infobox file format
| name                   =  
+
| name =  
| icon                   =  
+
| icon =  
| logo                  =  
+
| iconcaption =
| screenshot             =  
+
| icon_size =  
| caption               =  
+
| screenshot =
| extension             =  
+
| screenshot_size =  
| mime                   =  
+
| caption =
| type code              =  
+
|_noextcode =  
| uniform type          =  
+
| extension =              <!-- or: | extensions = -->
| magic                 =  
+
|_nomimecode =  
| owner                  =  
+
| mime =  
| released               = <!-- {{Start date|YYYY|mm|dd|df=yes/no}} -->
+
| type_code =
| latest release version =  
+
| uniform_type =  
| latest release date    = <!-- {{Start date and age|YYYY|mm|dd|df=yes/no}} -->
+
| conforms_to =  
| genre                 =  
+
| magic =  
| container for          =  
+
| developer =  
| contained by          =  
+
| released =               <!-- {{start date and age|YYYY|mm|dd|df=yes/no}} -->
| extended from          =  
+
| latest_release_version =  
| extended to            =  
+
| latest_release_date =     <!-- {{start date and age|YYYY|mm|dd|df=yes/no}} -->
| standard               =  
+
| genre =  
| free                   =  
+
| container_for =  
| url                   =  
+
| contained_by =  
 +
| extended_from =  
 +
| extended_to =  
 +
| standard =               <!-- or: | standards = -->
 +
| free =  
 +
| url =  
 
}}
 
}}
 
</pre>
 
</pre>
 +
By default, ''extension'' and ''mime'' are displayed using {{tag|code}}; to disable this (in order to customize their formatting), assign ''_noextcode'' and/or ''_nomimecode'' a value ("on", "true", etc.).
 +
 +
{{clear}}
 +
 +
== Examples ==
  
==Examples==
+
{{Infobox file format{{\sandbox}}
{{Infobox file format
+
| name = Scalable Vector Graphics
| name                   = Scalable Vector Graphics
+
| icon =  
| icon                   =  
+
| iconcaption = | screenshot = | caption =
| logo                  =  
+
|_noextcode = on
| screenshot             = [[Image:SVG.svg|200px]]
+
| extensions = .svg, .svgz
| caption                =  
+
|_nomimecode = on
| extension              = <tt>.svg</tt>, <tt>.svgz</tt>
+
| mime = image/svg+xml<ref>(w3.org ref)</ref><ref>(ietf.org ref)</ref>
| mime                   = image/svg+xml<ref>[http://www.w3.org/TR/SVGMobile12/mimereg.html M Media Type registration for image/svg+xml]</ref>
+
| type_code = {{hlist |"svg" |"svgz"}}
| type code             =
+
| uniform_type = <code>public.svg-image</code>
| uniform type          =  
+
| conforms_to = <code>public.image</code><br/><code>public.xml</code>
| magic                 =  
+
| magic =  
| owner                  = [[World Wide Web Consortium]]
+
| developer = [[World Wide Web Consortium|W3C]]
| released               = {{Start date|2001|09|04|df=yes}}
+
| released = {{start date and age|2001|09|04|df=yes}}
| latest release version = 1.2T
+
| latest_release_version = 1.1 (Second Edition)
| latest release date    = {{Start date and age|2006|08|10|df=yes}}
+
| latest_release_date = {{start date and age|2011|08|16|df=yes}}
| genre                 = [[vector graphics|vector image format]]
+
| genre = [[Vector image format]]
| container for          =  
+
| container_for = | contained_by =  
| contained by          =  
+
| extended_from = [[XML]]
| extended from          = [[XML]]
+
| extended_to =  
| extended to            =  
+
| standard = [http://www.w3.org/TR/SVG/ W3C SVG]
| standard               =
+
| free = Yes
| url                    = [http://www.w3.org/Graphics/SVG/ w3.org/Graphics/SVG/]
+
| url = {{URL|http://www.w3.org/Graphics/SVG/}}
 
}}
 
}}
<pre style="overflow:auto;">
+
<syntaxhighlight lang="xml" style="margin-top:2.75em;overflow:auto;">
 
{{Infobox file format
 
{{Infobox file format
| name                   = Scalable Vector Graphics
+
| name = Scalable Vector Graphics
| icon                   =  
+
| icon =  
| logo                  =  
+
| iconcaption = | screenshot = | caption =
| screenshot             = [[Image:SVG.svg|200px]]
+
|_noextcode = on
| caption                =  
+
| extensions = .svg, .svgz
| extension              = <tt>.svg</tt>, <tt>.svgz</tt>
+
|_nomimecode = on
| mime                   = image/svg+xml<ref>[http://www.w3.org/TR/SVGMobile12/mimereg.html M Media Type registration for image/svg+xml]</ref>
+
| mime = image/svg+xml<ref>(w3.org ref)</ref><ref>(ietf.org ref)</ref>
| type code             =
+
| type_code = {{hlist |"svg" |"svgz"}}
| uniform type          =  
+
| uniform_type = <code>public.svg-image</code>
| magic                 =  
+
| conforms_to = <code>public.image</code><br/><code>public.xml</code>
| owner                  = [[World Wide Web Consortium]]
+
| magic =  
| released               = {{Start date|2001|09|04|df=yes}}
+
| developer = [[World Wide Web Consortium|W3C]]
| latest release version = 1.2T
+
| released = {{start date and age|2001|09|04|df=yes}}
| latest release date    = {{Start date and age|2006|08|10|df=yes}}
+
| latest_release_version = 1.1 (Second Edition)
| genre                 = [[vector graphics|vector image format]]
+
| latest_release_date = {{start date and age|2011|08|16|df=yes}}
| container for          =  
+
| genre = [[Vector image format]]
| contained by          =  
+
| container_for = | contained_by =  
| extended from          = [[XML]]
+
| extended_from = [[XML]]
| extended to            =  
+
| extended_to =  
| standard               =
+
| standard = [http://www.w3.org/TR/SVG/ W3C SVG]
| url                    = [http://www.w3.org/Graphics/SVG/ w3.org/Graphics/SVG/]
+
| free = Yes
 +
| url = {{URL|http://www.w3.org/Graphics/SVG/}}
 
}}
 
}}
</pre>
+
</syntaxhighlight>
<br style="clear:both;" />
+
 
{{Infobox file format
+
{{clear}}
| name                   = OpenDocument Text
+
 
| icon                   = [[Image:X-office-document.svg]]
+
{{Infobox file format{{\sandbox}}
| logo                  =
+
| name = OpenDocument Text
| screenshot             =  
+
| icon = [[File:ODF textdocument 48x48.png|ODF textdocument icon]]
| caption               =  
+
| screenshot = | caption =  
| extension             = <tt>.odt</tt>
+
| extension = .odt
| mime                   = application/vnd.<br />oasis.opendocument.<br />text
+
| mime = application/vnd.<br/>&nbsp;oasis.opendocument.<br/>&nbsp;text
| type code              =  
+
| type_code =  
| uniform type          = <tt>org.oasis.<br />opendocument.text</tt><ref name="uti">{{ cite web | url=http://www.huw.id.au/filetypes.html#OpenDocument | title=Filetypes | author=Huw Alexander Ogilvie | accessdate=2008-06-20 }}</ref>
+
| uniform_type = <code>org.oasis.<br/>&nbsp;opendocument.text</code><ref>(www.huw.id.au ref)</ref>
| magic                 =  
+
| conforms_to = {{nowrap|<code>org.oasis-open.<br/>&nbsp;opendocument</code><br/><code>public.composite-<br/>&nbsp;content</code>}}
| owner                  = [[Sun Microsystems]], [[OASIS (organization)|OASIS]]
+
| magic =  
| released               =  
+
| developer = {{hlist |[[Sun Microsystems]] |[[OASIS (organization)|OASIS]]}}
| latest release version =  
+
| released =  
| latest release date    =  
+
| latest_release_version = | latest_release_date =  
| genre                 = [[Document file format]]
+
| genre = [[Document file format]]
| container for          =  
+
| container_for = | contained_by =  
| contained by          =  
+
| extended_from = [[XML]]
| extended from          = [[XML]]
+
| extended_to =  
| extended to            =  
+
| standard = ISO/IEC 26300:2006
| standard               = ISO/IEC 26300:2006
+
| free = [[OpenDocument#Licensing|Yes]]
| free                   = [[OpenDocument#Licensing|Yes]]
+
| url =  
| url                   =  
 
 
}}
 
}}
<pre style="overflow:auto;">
+
<syntaxhighlight lang="xml" style="margin-top:2.0em;overflow:auto;">
 
{{Infobox file format
 
{{Infobox file format
| name                   = OpenDocument Text
+
| name = OpenDocument Text
| icon                   = [[Image:X-office-document.svg]]
+
| icon = [[File:ODF textdocument 48x48.png|ODF textdocument icon]]
| logo                  =
+
| screenshot = | caption =  
| screenshot             =  
+
| extension = .odt
| caption               =  
+
| mime = application/vnd.<br/>&amp;nbsp;oasis.opendocument.<br/>&amp;nbsp;text
| extension             = <tt>.odt</tt>
+
| type_code =  
| mime                   = application/vnd.<br />oasis.opendocument.<br />text
+
| uniform_type = <code>org.oasis.<br/>&amp;nbsp;opendocument.text</code><ref>(www.huw.id.au ref)</ref>
| type code              =  
+
| conforms_to = {{nowrap|<code>org.oasis-open.<br/>&amp;nbsp;opendocument</code><br/><code>public.composite-<br/>&amp;nbsp;content</code>}}
| uniform type          = <tt>org.oasis.<br />opendocument.text</tt><ref name="uti">{{ cite web | url=http://www.huw.id.au/filetypes.html#OpenDocument | title=Filetypes | author=Huw Alexander Ogilvie | accessdate=2008-06-20 }}</ref>
+
| magic =  
| magic                 =  
+
| developer = {{hlist |[[Sun Microsystems]] |[[OASIS (organization)|OASIS]]}}
| owner                  = [[Sun Microsystems]], [[OASIS (organization)|OASIS]]
+
| released =  
| released               =  
+
| latest_release_version = | latest_release_date =  
| latest release version =  
+
| genre = [[Document file format]]
| latest release date    =  
+
| container_for = | contained_by =  
| genre                 = [[Document file format]]
+
| extended_from = [[XML]]
| container for          =  
+
| extended_to =  
| contained by          =  
+
| standard = ISO/IEC 26300:2006
| extended from          = [[XML]]
+
| free = [[OpenDocument#Licensing|Yes]]
| extended to            =  
+
| url =  
| standard               = ISO/IEC 26300:2006
 
| free                   = [[OpenDocument#Licensing|Yes]]
 
| url                   =  
 
 
}}
 
}}
</pre>
+
</syntaxhighlight>
<div style="display: none">{{Reflist}}</div>
+
 
 +
{{clear}}
 +
 
 +
== Parameters ==
 +
 
 +
; name        : The name of the file format.
 +
; icon        : A [[icon (computing)|file icon]] used by either the application that popularized the format or a common free icon. Alias is {{para|logo}}.
 +
; iconcaption  : caption describing the icon.
 +
; screenshot  : A [[screen shot]] of the file format in use.
 +
; caption      : caption to the screen shot.
 +
; extension {{nobold|(or '''extensions''')}} : The format's [[filename extension]] or extensions. Set {{para<!--|plain-->|_noextcode}} to disable the default monospace font.
 +
; mime        : The [[MIME]] type of the file. Set {{para<!--|plain-->|_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, <code>public.png</code> would conform to <code>public.image</code>
 +
; magic        : A [[file format#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 [[Digital container format|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 {{nobold|(or '''standards''')}} : If the format is part of a [[Technical standard|standard]] or standards, list it/them here.
 +
; free        : Is it a free/open format?
 +
; url          : URL of the file format's website, specification, etc.
 +
 
 +
<div style="display:none;">{{reflist}}</div>
 +
 
 +
==TemplateData==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"description": "Consistently-formatted table for presenting information about file formats",
 +
"format": "{{_\n| _____________ = _\n}}\n",
 +
"params": {
 +
"child": {
 +
"label": "Child",
 +
"description": "Settings this to \"yes\" allows the infobox to be embedded into another infobox. It also causes name parameter to be ignored.",
 +
"type": "string"
 +
},
 +
"name": {
 +
"description": "The name of the file format.",
 +
"type": "line",
 +
"suggested": true,
 +
"label": "Name",
 +
"default": "Pagename"
 +
},
 +
"icon": {
 +
"suggested": true,
 +
"description": "An icon used by either the application that popularized the format or a common free icon.",
 +
"type": "string",
 +
"aliases": [
 +
"logo"
 +
],
 +
"label": "Icon"
 +
},
 +
"iconcaption": {
 +
"aliases": [
 +
"logocaption"
 +
],
 +
"label": "Icon caption",
 +
"description": "Caption describing the icon.",
 +
"type": "string"
 +
},
 +
"icon_size": {
 +
"aliases": [
 +
"logo_size"
 +
],
 +
"label": "Icon size",
 +
"type": "string",
 +
"default": "64px",
 +
"description": "Size of the icon to show including a unit (most likely pixels - 'px')."
 +
},
 +
"screenshot": {
 +
"type": "string",
 +
"label": "Screenshot",
 +
"description": "A screenshot of the file format in use."
 +
},
 +
"caption": {
 +
"type": "string",
 +
"label": "Caption",
 +
"description": "Caption to the screenshot."
 +
},
 +
"screenshot_size": {
 +
"label": "Screenshot size",
 +
"type": "string",
 +
"default": "300px",
 +
"description": "Size of the screenshot to show including a unit (most likely pixels - 'px')."
 +
},
 +
"extension": {
 +
"label": "Extension",
 +
"description": "The format's filename extension, if only one.",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"extensions": {
 +
"label": "Extensions",
 +
"description": "The format's filename extensions, if more than one.",
 +
"type": "string"
 +
},
 +
"_noextcode": {
 +
"label": "No code style in extension",
 +
"description": "If set to 'true', then extensions won't be formatted using monospace font.",
 +
"type": "string"
 +
},
 +
"mime": {
 +
"label": "MIME type",
 +
"type": "string",
 +
"description": "The MIME type of the file.",
 +
"suggested": true
 +
},
 +
"_nomimecode": {
 +
"label": "No code style in MIME",
 +
"description": "If set to 'true', then MIME won't be formatted using monospace font.",
 +
"type": "string"
 +
},
 +
"uniform_type": {
 +
"label": "Uniform Type Identifier (UTI)",
 +
"description": "The Uniform Type Identifier, used by contemporary macOS computers and iOS devices.",
 +
"type": "string",
 +
"aliases": [
 +
"uniform type"
 +
]
 +
},
 +
"conforms_to": {
 +
"label": "UTI conformation",
 +
"description": "The immediate parents of the UTI. For example, public.png would conform to public.image.",
 +
"type": "string",
 +
"aliases": [
 +
"conforms to"
 +
]
 +
},
 +
"magic": {
 +
"label": "Magic number",
 +
"description": "A number or other data structure usually near the beginning of a file used to identify the file contents.",
 +
"type": "string"
 +
},
 +
"developer": {
 +
"aliases": [
 +
"owner"
 +
],
 +
"label": "Developed by",
 +
"description": "The owner of the format.",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"type": {
 +
"aliases": [
 +
"genre"
 +
],
 +
"label": "Type of format",
 +
"description": "The type of the file format, what does it store (e.g. Vector image format).",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"released": {
 +
"label": "Initial release",
 +
"description": "The date the format was publicly released.",
 +
"type": "string"
 +
},
 +
"latest_release_version": {
 +
"label": "Latest release version",
 +
"description": "Latest version number of the format.",
 +
"type": "string",
 +
"aliases": [
 +
"latest release version"
 +
]
 +
},
 +
"latest_release_date": {
 +
"label": "Latest release date",
 +
"description": "Date the latest version was released.",
 +
"type": "string",
 +
"aliases": [
 +
"latest release date"
 +
]
 +
},
 +
"container_for": {
 +
"label": "Container for",
 +
"description": "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).",
 +
"type": "string",
 +
"aliases": [
 +
"container for",
 +
"  containerfor"
 +
]
 +
},
 +
"contained_by": {
 +
"label": "Contained by",
 +
"description": "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).",
 +
"type": "string",
 +
"aliases": [
 +
"contained by",
 +
"  containedby"
 +
]
 +
},
 +
"extended_from": {
 +
"label": "Extended from",
 +
"description": "The format that this one is based on, if any.",
 +
"type": "string",
 +
"aliases": [
 +
"extended from",
 +
"  extendedfrom"
 +
]
 +
},
 +
"extended_to": {
 +
"label": "Extended to",
 +
"description": "The format that this one is base for, if any.",
 +
"type": "string",
 +
"aliases": [
 +
"extended to",
 +
"  extendedto"
 +
]
 +
},
 +
"standard": {
 +
"label": "Standard",
 +
"description": "Standard this format is part of, if only one.",
 +
"type": "string"
 +
},
 +
"standards": {
 +
"label": "Standards",
 +
"description": "Standards this format is part of, if more than one.",
 +
"type": "string"
 +
},
 +
"free": {
 +
"label": "Open format?",
 +
"type": "string",
 +
"description": "Is it a free/open format?"
 +
},
 +
"url": {
 +
"label": "Website",
 +
"description": "URL of the file format's website, specification, etc.",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"type_code": {
 +
"label": "Type code",
 +
"description": "The type code of the file used by Mac OS Classic.",
 +
"type": "string",
 +
"aliases": [
 +
"type code",
 +
"  typecode"
 +
]
 +
}
 +
},
 +
"paramOrder": [
 +
"child",
 +
"name",
 +
"icon",
 +
"icon_size",
 +
"iconcaption",
 +
"screenshot",
 +
"screenshot_size",
 +
"caption",
 +
"extension",
 +
"extensions",
 +
"_noextcode",
 +
"mime",
 +
"_nomimecode",
 +
"type_code",
 +
"uniform_type",
 +
"conforms_to",
 +
"magic",
 +
"developer",
 +
"type",
 +
"released",
 +
"latest_release_version",
 +
"latest_release_date",
 +
"container_for",
 +
"contained_by",
 +
"extended_from",
 +
"extended_to",
 +
"standard",
 +
"standards",
 +
"free",
 +
"url"
 +
]
 +
}
 +
</templatedata>
  
<noinclude>
+
== Tracking category ==
[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
+
* {{clc|Pages using infobox file format with unknown parameters}}
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Software infobox templates|File Format]]
 
  
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
<includeonly>{{basepage subpage|
[[fi:Malline:Tiedostomuoto]]
+
<!--Categories below this line, please; interwikis at Wikidata-->
[[da:Skabelon:Infobox filformat]]
+
[[Category:Software infobox templates|File format]]
[[de:Vorlage:Infobox Dateiformat]]
+
[[Category:Embeddable templates]]
[[eo:Ŝablono:Informkesto dosiera formato]]
+
[[Category:Templates that add a tracking category]]
[[es:Plantilla:Ficha de formato de archivo]]
+
}}</includeonly>
[[fr:Modèle:Infobox format de données]]
 
[[fa:الگو:جعبه اطلاعات قالب]]
 
[[hsb:Předłoha:Infokašćik datajowy format]]
 
[[it:Template:Infobox formato file]]
 
[[hu:Sablon:Fájlformátum infobox]]
 
[[mk:Шаблон:Infobox file format]]
 
[[ja:Template:Infobox file format]]
 
[[ko:틀:파일 정보]]
 
[[nl:Sjabloon:Infobox bestandsformaat]]
 
[[no:Mal:Infobox file format]]
 
[[pl:Szablon:Format pliku infobox]]
 
[[pt:Predefinição:Info formato de ficheiro]]
 
[[ro:Format:Informaţii despre formatul de fişier]]
 
[[ru:Шаблон:Файловый формат]]
 
[[sv:Mall:Infobox filformat]]
 
[[uk:Шаблон:Infobox file format]]
 
[[th:แม่แบบ:กล่องข้อมูล รูปแบบไฟล์]]
 
[[zh:Template:Infobox file format]]
 
</includeonly>
 

Latest revision as of 05:03, 4 October 2020

Blank syntax

  1. redirect Template: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}} -->
| genre = 
| container_for = 
| contained_by = 
| extended_from = 
| extended_to = 
| standard =                <!-- or: | standards = -->
| free = 
| 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

{{Infobox file formatTemplate:\sandbox | name = Scalable Vector Graphics | icon = | iconcaption = | screenshot = | caption = |_noextcode = on | extensions = .svg, .svgz |_nomimecode = on | mime = image/svg+xml[1][2]

| type_code =

  • "svg"
  • "svgz"

| uniform_type = public.svg-image | conforms_to = public.image
public.xml | magic = | developer = W3C | released = Template:Start date and age | latest_release_version = 1.1 (Second Edition) | latest_release_date = Template:Start date and age | genre = Vector image format | container_for = | contained_by = | extended_from = XML | extended_to = | standard = W3C SVG | free = Yes | url = Template:URL }}

{{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 = [[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 = [[Vector image format]]
| 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/}}
}}

{{Infobox file formatTemplate:\sandbox | name = OpenDocument Text | icon = ODF textdocument icon | screenshot = | caption = | extension = .odt | mime = application/vnd.
 oasis.opendocument.
 text | type_code = | uniform_type = org.oasis.
 opendocument.text
[3] | conforms_to = org.oasis-open.
 opendocument

public.composite-
 content
| magic =

| developer =

| 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 = Yes | url = }}

{{Infobox file format
| name = OpenDocument Text
| icon = [[File:ODF textdocument 48x48.png|ODF textdocument icon]]
| screenshot = | caption = 
| extension = .odt
| mime = application/vnd.<br/>&amp;nbsp;oasis.opendocument.<br/>&amp;nbsp;text
| type_code = 
| uniform_type = <code>org.oasis.<br/>&amp;nbsp;opendocument.text</code><ref>(www.huw.id.au ref)</ref>
| conforms_to = {{nowrap|<code>org.oasis-open.<br/>&amp;nbsp;opendocument</code><br/><code>public.composite-<br/>&amp;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 = 
}}

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.
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?
url
URL of the file format's website, specification, etc.
  1. (w3.org ref)
  2. (ietf.org ref)
  3. (www.huw.id.au ref)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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 genre

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
Open format?free

Is it a free/open format?

Stringoptional
Websiteurl

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

Stringsuggested

Tracking category