Template:InheritPositionOnCarEnd: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Undocumented enumeration items)
m (spelling)
 
(One intermediate revision by the same user not shown)
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:
{{missing information|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 16:38, 25 April 2018 (CEST)|topic=the semantics of the enumeration items}}
:* {{Enum|both}} The railway wagon 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 wagon has one coupler placed on the front side.
:* {{Enum|front}}
:* {{Enum|rear}}The railway wagon has one coupler placed on the rear side. {{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.

Latest revision as of 12:57, 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:

  • positionOnCarEnd: This is the basic position of the coupler with regard to the car ends. Possible values are:
  • both The railway wagon 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.
  • front The railway wagon has one coupler placed on the front side.
  • rearThe railway wagon has one coupler placed on the rear side.
{{InheritPositionOnCarEnd
|positionOnCarEnd=English comment
|positionOnCarEnd_de=Deutscher Kommentar
}}

delivers

  • positionOnCarEnd: This is the basic position of the coupler with regard to the car ends. Possible values are:
  • both
  • front
  • rear
    English comment
    Deutscher Kommentar

This template is employed by RS:pneumaticCoupler, RS:mechanicalCoupler and RS:electricalCoupler