Template:InheritRefAny: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
m (Documentation) |
No edit summary |
||
Line 5: | Line 5: | ||
|notes_de = {{{ref_de|}}} | |notes_de = {{{ref_de|}}} | ||
}} | }} | ||
<!-- | |||
{{InheritAnyAttribute | {{InheritAnyAttribute | ||
|anyAttribute = {{{anyAttribute|}}} | |anyAttribute = {{{anyAttribute|}}} | ||
|anyAttribute_de = {{{anyAttribute_de|}}} | |anyAttribute_de = {{{anyAttribute_de|}}} | ||
}}</includeonly><noinclude> | }}--></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template combines [[Template:InheritRef]] and [[Template:InheritAnyAttribute]]: It displays the Attributes ''ref'' and ''anyAttribute'' and allows for comments on both of them in English and in German. | This template combines [[Template:InheritRef]] and [[Template:InheritAnyAttribute]]: It displays the Attributes ''ref'' and ''anyAttribute'' and allows for comments on both of them in English and in German. |
Revision as of 17:36, 13 January 2017
Usage
This template combines Template:InheritRef and Template:InheritAnyAttribute: It displays the Attributes ref and anyAttribute and allows for comments on both of them in English and in German.
Arguments
The template allows for four optional arguments:
- ref: English comment on re
- ref_de: German comment on ref
- anyAttribute: English comment on anyAttribute
- anyAttribute_de: German comment on anyAttribute
Dependencies
The template depends on Template:InheritRef and Template:InheritAnyAttribute. Trmplate:InheritTrackRef builds on it.
Examples
{{InheritRefAny}}
delivers
|
{{InheritRefAny |ref=English comment on re |ref_de=German comment on ref |anyAttribute=English comment on anyAttribute |anyAttribute_de=German comment on anyAttribute }}
delivers
|
This template is employed by about two dozens of articles, e.g. TT:trainRef.