Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Updated using new template (Vorlage:InheritId))
(Updated using new template (Vorlage:InheritLang))
Line 9: Line 9:
* {{Attr|description}} {{Intro|2.0}}: This is a more detailed description as addition to the short {{Attr|name}}. It shall allow a short overview or hints to the contents of this data set. <br /> {{Ann | {{{description|}}} }}
* {{Attr|description}} {{Intro|2.0}}: This is a more detailed description as addition to the short {{Attr|name}}. It shall allow a short overview or hints to the contents of this data set. <br /> {{Ann | {{{description|}}} }}


* {{Attr|xml:lang}} {{Intro|2.1}}: This is a unique identifier of language used for defining {{Attr|name}} and {{Attr|description}}. It uses basically the language standard [http://tools.ietf.org/html/bcp47 IETF BCP 47] which may be different to [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1] or [http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes ISO 639-2]. For mapping hints see [http://en.wikipedia.org/wiki/IETF_language_tag relation to other standards].<noinclude>[[Category:AttributeTemplate]]</noinclude>
{{InheritLang
|notes_en = This is used for defining {{Attr|name}} and {{Attr|description}}.
}}<noinclude>[[Category:AttributeTemplate]]</noinclude>

Revision as of 12:25, 7 December 2011

  • id: XML-file-wide unique, machine-interpretable identity, required for later referencing that element internally. For a detailed explanation see Dev:identities.
    XML-Datei-weit eindeutige, maschineninterpretierbare Identität, die für die spätere interne Referenzierung dieses Elements erforderlich ist. Für eine detaillierte Erklärung siehe Dev:identities.
  • code (introduced with version 2.1): This is a short string for typical, specific abbreviations, used in different systems with the same understanding.
  • name (introduced with version 2.0): This is a short name for the current item.
  • description (introduced with version 2.0): This is a more detailed description as addition to the short name. It shall allow a short overview or hints to the contents of this data set.


  • xml:lang (introduced with version 2.1): This is a unique identifier of language. It uses basically the language standard IETF BCP 47 (external link) which may be different to ISO 639-1 (external link) or ISO 639-2 (external link). For mapping hints see relation to other standards (external link).
    This is used for defining name and description.