Template:InheritIdName: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Updated using new template (Vorlage:InheritLang))
(Updated using new template (Vorlage:AddAnn))
Line 1: Line 1:
{{InheritId
{{InheritId
|id = {{{id|}}}
|id = {{{id|}}}
|id_de = {{{id_de|}}}
}}
}}


* {{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|code}} {{Intro|2.1}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. {{AddAnn|{{{code|}}}|{{{code_de|}}} }}


* {{Attr|name}} {{Intro|2.0}}: 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. {{AddAnn|{{{name|}}}|{{{name_de|}}} }}


* {{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. {{AddAnn|{{{description|}}}|{{{description_de|}}} }}


{{InheritLang
{{InheritLang
|notes_en = This is used for defining {{Attr|name}} and {{Attr|description}}.
|notes_en = This is used for defining {{Attr|name}} and {{Attr|description}}.
}}<noinclude>[[Category:AttributeTemplate]]</noinclude>
}}<noinclude>[[Category:AttributeTemplate]]</noinclude>

Revision as of 00:13, 8 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.