Template:Infobox character encoding/doc
![]() | This is a documentation subpage for Template:Infobox character encoding. It may contain usage information, categories and other content that is not part of the original template page. |
Infobox template for character encodings, character sets, code pages et cetera.
While the difference between a coded character set and a character encoding is clear in a Unicode context (UTF-8 and UTF-16 are different encodings for the same set), the difference is often blurred by legacy encodings. For example, so-called "WinLatin-1" is a de facto extension of the "Latin-1" (ISO 8859-1) encoding, whereas so-called "DOS Latin-1" is an alternative, incompatible encoding (or transformation format) of the ISO 8859-1 charset. Both add their own extensions, meaning that their own charsets, taken as wholes, have their own unique identity as well. For this reason, the same infobox template is presently used for both.
Usage
{{infobox character encoding | name = | mime = | alias = | standard = | lang = | status = | prev = | next = }}
Template Data
TemplateData for Infobox character encoding
An infobox on character encoding
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | common name of character encoding (displayed as title of infobox) | String | required |
Image | image | Image (such as a single byte character grid or multiple byte layout chart) | File | optional |
Image Caption | caption | Caption for the image | String | optional |
MIME / IANA | mime | A name of the encoding used in MIME types. Should be an IANA-approved name for the specific encoding in question; favour the Preferred MIME Name if one is available. Set |_nomimecode= to disable the default <code>...</code> formatting. | String | optional |
Alias(es) | alias | Other names and labels of the character encoding | String | optional |
Standard | standard | If the format is part of a standard or standards, list it/them here. | String | optional |
Language(s) | lang | The language or languages which the character encoding is used for or, more broadly, supports. | String | optional |
Current status | status | Usage status of the character encoding | String | optional |
Classification | classification | Classification of the charset or encoding, e.g. series it may be part of (e.g. ISO 8859), general categories (e.g. Extended ASCII), higher level encoding it might be built for (ISO 2022), et cetera. | String | optional |
Extends | extends | Encodings which it is an extended version or superset of (but which it may or may not be a clear successor of). | String | optional |
Extensions | extensions | Noteworthy extended versions of the charset or encoding (but which may or may not be regarded as clear successors). | String | optional |
Encoding formats | encodings | Encoding or transformation formats for the charset. These are usually listed if the charset either doesn't define an encoding format itself, or defines more than one (e.g. Unicode), or one which is not consistently used. | String | optional |
Transforms / Encodes | encodes | Repertoire or charset which is a subset of this encoding's repertoire. Whilst this may be something which is both a charset and an encoding, it should not be an encoding solely encoding a charset with its own clear identity (e.g. 'ISO 8859-1' and 'Unicode' are both appropriate values but 'UTF-8' is not). If it is an encoding which is a subset of the encoding itself, it goes in the Extends field. | String | optional |
Preceded by | prev | Encoding which it superseded in some context. This may or may not be a subset. | String | optional |
Succeeded by | next | Encoding which it was superseded by in some context. This may or may not be a superset. | String | optional |
Other related encodings | otherrelated | Any encodings which are worth of note as being closely related, but neither a predecessor, nor a successor, nor a subset. | String | optional |