Template:InheritIdName: Difference between revisions
[checked revision] | [checked revision] |
No edit summary |
(Undo revision 6765 by Ferri Leberl (talk)) |
||
Line 4: | Line 4: | ||
}} | }} | ||
* {{Attr|code}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. {{AddAnn|{{{code|}}}|{{{code_de|}}} }} | * {{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}}: This is a short name for the current item. {{AddAnn|{{{name|}}}|{{{name_de|}}} }} | * {{Attr|name}}: This is a short name for the current item. {{AddAnn|{{{name|}}}|{{{name_de|}}} }} | ||
Line 41: | Line 41: | ||
}} | }} | ||
* {{Attr|code}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. {{AddAnn|| }} | * {{Attr|code}} {{Intro|2.1}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. {{AddAnn|| }} | ||
* {{Attr|name}}: This is a short name for the current item. {{AddAnn|| }} | * {{Attr|name}}: This is a short name for the current item. {{AddAnn|| }} | ||
Line 78: | Line 78: | ||
}} | }} | ||
* {{Attr|code}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. {{AddAnn|English comment on code|Deutscher Kommentar zu code }} | * {{Attr|code}} {{Intro|2.1}}: This is a short string for typical, specific abbreviations, used in different systems with the same understanding. {{AddAnn|English comment on code|Deutscher Kommentar zu code }} | ||
* {{Attr|name}}: This is a short name for the current item. {{AddAnn|English comment on name|Deutscher Kommentar zu name }} | * {{Attr|name}}: This is a short name for the current item. {{AddAnn|English comment on name|Deutscher Kommentar zu name }} |
Revision as of 12:13, 11 August 2017
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.