Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Moved type constraints to Vorlage:InheritIdNameConstraints, removed type links)
(railML version remarks updated)
Line 1: Line 1:
* {{Attr|id}}: This is the unique identifier which is used to refer to the current element. It is used for XML file internal unambiguous references. <br /> {{Ann | {{{id|}}} }}
* {{Attr|id}} {{Intro|2.0}}: This is the unique identifier which is used to refer to the current element. It is used for XML file internal unambiguous references. <br /> {{Ann | {{{id|}}} }}


* {{Attr|code}} {{Vers|> 2.0}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. <br /> {{Ann | {{{code|}}} }}
* {{Attr|code}} {{Intro|2.1}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. <br /> {{Ann | {{{code|}}} }}


* {{Attr|name}}: This is a short name for the current item. <br /> {{Ann | {{{name|}}} }}
* {{Attr|name}} {{Intro|2.0}}: This is a short name for the current item. <br /> {{Ann | {{{name|}}} }}


* {{Attr|description}}: 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}} {{Vers|> 2.0}}: 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].
* {{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>
<noinclude>[[Category:AttributeTemplate]]</noinclude>

Revision as of 12:16, 1 December 2011

  • id (introduced with version 2.0): This is the unique identifier which is used to refer to the current element. It is used for XML file internal unambiguous references.
  • 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.