Template:InheritRefAny: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
(Created for use in several IS, RS, TT element documentation sites) |
No edit summary |
||
Line 1: | Line 1: | ||
{{InheritRef | <includeonly>{{InheritRef | ||
|attributeName = ref | |attributeName = ref | ||
|contextLink = {{{contextLink|FIXME}}} | |contextLink = {{{contextLink|FIXME}}} | ||
Line 9: | Line 9: | ||
|anyAttribute = {{{anyAttribute|}}} | |anyAttribute = {{{anyAttribute|}}} | ||
|anyAttribute_de = {{{anyAttribute_de|}}} | |anyAttribute_de = {{{anyAttribute_de|}}} | ||
}}<noinclude>[[Category:AttributeTemplate]]</noinclude> | }}</includeonly><noinclude> | ||
==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== | |||
<pre>{{InheritRefAny}}</pre> | |||
delivers | |||
{|border="1" | |||
|{{InheritRef | |||
|attributeName = ref | |||
|contextLink = FIXME | |||
|notes_en = | |||
|notes_de = | |||
}} | |||
{{InheritAnyAttribute | |||
|anyAttribute = | |||
|anyAttribute_de = | |||
}} | |||
|} | |||
<pre>{{InheritRefAny | |||
|ref=English comment on re | |||
|ref_de=German comment on ref | |||
|anyAttribute=English comment on anyAttribute | |||
|anyAttribute_de=German comment on anyAttribute | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
|{{InheritRef | |||
|attributeName = ref | |||
|contextLink = FIXME | |||
|notes_en = English comment on re | |||
|notes_de = German comment on ref | |||
}} | |||
{{InheritAnyAttribute | |||
|anyAttribute = English comment on anyAttribute | |||
|anyAttribute_de = German comment on anyAttribute | |||
}} | |||
|} | |||
This template is employed by about two dozens of articles, e.g. [[TT:trainRef]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 19:02, 24 February 2016
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.