Template:InheritPositionOnCarEnd: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Created for use in several RS element documentation sites) |
(Documentation) |
||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|positionOnCarEnd}}: This is the basic position of the coupler with regard to the car ends. Possible values are: | |||
:* {{Enum|both}} | |||
:* {{Enum|front}} | |||
:* {{Enum|rear}} {{AddAnn|{{{positionOnCarEnd|}}}|{{{positionOnCarEnd_de|}}} }}</includeonly><noinclude> | |||
==Usage== | |||
This template displays the attribute ''positionOnCarEnd'' and lists the possible values ''both'', ''front'' and ''rear''. The attribute can be commented on as well in English as in German. | |||
===Arguments=== | |||
The template has two optional arguments: | |||
*positionOnCarEnd: English comment | |||
*positionOnCarEnd_de: German comment | |||
===Dependencies=== | |||
The template builds on [[Template:Attr]], [[Template:Enum]] and [[Template:AddAnn]]. No other templates build on it. | |||
==Examples== | |||
<pre>{{InheritPositionOnCarEnd}}</pre> | |||
delivers: | |||
{|border="1" | |||
|{{InheritPositionOnCarEnd}} | |||
|} | |||
<pre>{{InheritPositionOnCarEnd | |||
|positionOnCarEnd=English comment | |||
|positionOnCarEnd_de=Deutscher Kommentar | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|positionOnCarEnd}}: This is the basic position of the coupler with regard to the car ends. Possible values are: | * {{Attr|positionOnCarEnd}}: This is the basic position of the coupler with regard to the car ends. Possible values are: | ||
:* {{Enum|both}} | :* {{Enum|both}} | ||
:* {{Enum|front}} | :* {{Enum|front}} | ||
:* {{Enum|rear}} {{AddAnn| | :* {{Enum|rear}} {{AddAnn|English comment|Deutscher Kommentar }} | ||
|} | |||
This template is employed by [[RS:pneumaticCoupler]], [[RS:mechanicalCoupler]] and [[RS:electricalCoupler]] | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 17:36, 22 February 2016
Usage
This template displays the attribute positionOnCarEnd and lists the possible values both, front and rear. The attribute can be commented on as well in English as in German.
Arguments
The template has two optional arguments:
- positionOnCarEnd: English comment
- positionOnCarEnd_de: German comment
Dependencies
The template builds on Template:Attr, Template:Enum and Template:AddAnn. No other templates build on it.
Examples
{{InheritPositionOnCarEnd}}
delivers:
|
{{InheritPositionOnCarEnd |positionOnCarEnd=English comment |positionOnCarEnd_de=Deutscher Kommentar }}
delivers
|
This template is employed by RS:pneumaticCoupler, RS:mechanicalCoupler and RS:electricalCoupler