Template:InheritPositionOnCarEnd: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Undocumented enumeration items) |
(added positionOnCarEnd attribute values, deleted missing info block) |
||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|positionOnCarEnd}}: This is the basic position of the coupler with regard to the car ends. Possible values are: | <includeonly>* {{Attr|positionOnCarEnd}}: This is the basic position of the coupler with regard to the car ends. Possible values are: | ||
:* {{Enum|both}} The railway car has two couplers. One of them is placed on the front side of the railway wagon. Other one is placed on the rear side of the railway wagon. | |||
:* {{Enum|both}} | :* {{Enum|front}} The railway car has one coupler placed on the front side of the railway wagon. | ||
:* {{Enum|front}} | :* {{Enum|rear}}The railway car has one coupler placed on the rear side of the railway wagon. {{AddAnn|{{{positionOnCarEnd|}}}|{{{positionOnCarEnd_de|}}} }}</includeonly><noinclude> | ||
:* {{Enum|rear}} {{AddAnn|{{{positionOnCarEnd|}}}|{{{positionOnCarEnd_de|}}} }}</includeonly><noinclude> | |||
==Usage== | ==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. | 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. |
Revision as of 13:56, 25 October 2022
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