Template:InheritIdName: Difference between revisions
[checked revision] | [checked revision] |
No edit summary |
(Link to Dev:identities differentiation also from code) |
||
Line 3: | Line 3: | ||
|id_de = {{{id_de|}}} | |id_de = {{{id_de|}}} | ||
}} | }} | ||
* {{Attr|code}} {{Intro|2.1}}: Machine-interpretable string (e.g. an abbreviation) used for identification of the object across exchange partners, usecase specific uniqueness constraints may apply.<br>{{deu|Maschineninterpretierbare Zeichenkette (z.B. Abkürzung), die zur Identifizierung des Objekts auch bei Austauschpartnern verwendet wird, wobei spezifische Eindeutigkeitsbeschränkungen gelten können.}}{{AddAnn|{{{code|}}}|{{{code_de|}}} }} | * {{Attr|code}} {{Intro|2.1}}: Machine-interpretable string (e.g. an abbreviation) used for identification of the object across exchange partners, usecase specific uniqueness constraints may apply. Please see our [[Dev:identities#Differentiation_from_other_indications|description of the differences between id, code and human-readable identifiers]].<br>{{deu|Maschineninterpretierbare Zeichenkette (z.B. Abkürzung), die zur Identifizierung des Objekts auch bei Austauschpartnern verwendet wird, wobei spezifische Eindeutigkeitsbeschränkungen gelten können.}}{{AddAnn|{{{code|}}}|{{{code_de|}}} }} | ||
* {{Attr|name}}: Established, human-readable short string, giving the object a name. Not intended for machine interpretation, please see our [[Dev:identities#Differentiation_from_other_indications|notice on human interpretable data fields]].<br>{{deu|Etablierte, menschenlesbare kurze Zeichenkette, die das Objekt benennt. Nicht zur maschinellen Interpretation bestimmt, siehe [[Dev:identities#Differentiation_from_other_indications|Hinweise zu menschenlesbaren Datenfeldern]].}}{{AddAnn|{{{name|}}}|{{{name_de|}}} }} | * {{Attr|name}}: Established, human-readable short string, giving the object a name. Not intended for machine interpretation, please see our [[Dev:identities#Differentiation_from_other_indications|notice on human interpretable data fields]].<br>{{deu|Etablierte, menschenlesbare kurze Zeichenkette, die das Objekt benennt. Nicht zur maschinellen Interpretation bestimmt, siehe [[Dev:identities#Differentiation_from_other_indications|Hinweise zu menschenlesbaren Datenfeldern]].}}{{AddAnn|{{{name|}}}|{{{name_de|}}} }} | ||
* {{Attr|description}}: Human-readable, more detailed description as addition to the name. It should give additional explanations or hints to the contents of this element. Not intended for machine interpretation, please see our [[Dev:identities#Differentiation_from_other_indications|notice on human interpretable data fields]].<br>{{deu|Menschenlesbare, detailliertere Beschreibung als Ergänzung zu {{Attr|name}}. Sie soll zusätzliche Erläuterungen oder Hinweise auf den Inhalt dieses Elements geben. Nicht zur maschinellen Interpretation bestimmt, siehe [[Dev:identities#Differentiation_from_other_indications|Hinweise zu menschenlesbaren Datenfeldern]].}}{{AddAnn|{{{description|}}}|{{{description_de|}}}}} | * {{Attr|description}}: Human-readable, more detailed description as addition to the name. It should give additional explanations or hints to the contents of this element. Not intended for machine interpretation, please see our [[Dev:identities#Differentiation_from_other_indications|notice on human interpretable data fields]].<br>{{deu|Menschenlesbare, detailliertere Beschreibung als Ergänzung zu {{Attr|name}}. Sie soll zusätzliche Erläuterungen oder Hinweise auf den Inhalt dieses Elements geben. Nicht zur maschinellen Interpretation bestimmt, siehe [[Dev:identities#Differentiation_from_other_indications|Hinweise zu menschenlesbaren Datenfeldern]].}}{{AddAnn|{{{description|}}}|{{{description_de|}}}}} |
Revision as of 18:31, 18 May 2020
Usage
This template displays the commented attributes id, code, name, description and xml:lang.
Arguments
This template has ten optional arguments for English and German Comments on five of the six attributes:
- id and id_de
- code and code_de
- name and name_de
- description and description_de
- anyAttribute and anyAttribute_de
Dependencies
This template depends on Template:InheritId, Template:Attr, Template:AddAnn, Template:InheritLang and Template:InheritAnyAttribute. There are about a dozen templates building on it.
Examples
{{InheritIdName}}
delivers (in a box)
|
{{InheritIdName |id=English comment on id |id_de=Deutscher Kommentar zur id |code=English comment on code |code_de=Deutscher Kommentar zu code |name=English comment on name |name_de=Deutscher Kommentar zu name |description=English comment on description |description_de=Deutscher Kommentar zu description |anyAttribute=English comment on anyAttribute |anyAttribute_de=Deutscher Kommentar zu anyAttribute }}
delivers (in a box)
|
The template is emploed e.g. by IS:derailer.