Template:InheritPlaces: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
(Parameters for attributes added)
(multiplicity)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{elementDocu|
<includeonly>{{ElementDocu|
elementName = places
elementName = places


|semantics =
|semantics =
The element {{{selfLink|FIXME}}} contains the data related to particular passenger capacity with respect to the various categories of providing space for them. <br/> {{Ann| {{{semantics_en|}}} }}
The element {{{selfLink|FIXME}}} contains the data related to particular passenger capacity with respect to the various categories of providing space for them. {{AddAnn|{{{semantics_en|}}}| }}


{{Deu|Das Element {{{selfLink|FIXME}}} beinhaltet die Beschreibung zur Fahrgastkapazität des Fahrzeuges aufgeteilt nach den verschiedenen Kategorien der Unterbringung. <br/> {{Ann| {{{semantics_de|}}} }} }}
{{Deu|Das Element {{{selfLink|FIXME}}} beinhaltet die Beschreibung zur Fahrgastkapazität des Fahrzeuges aufgeteilt nach den verschiedenen Kategorien der Unterbringung.}} {{AddAnn| |{{{semantics_de|}}} }}  


|parent = {{{parentLink|FIXME}}}
|parent = {{{parentLink|FIXME}}}
 
|childs=''None''
|minocc=0
|maxocc=∞
|inheritedAttributes=''None''
|ownAttributes =
|ownAttributes =
* {{Attr|count}}: The number of places within the vehicle of the type given in the {{Attr|category}} attribute of the same element. <br/>  {{Ann| {{{count|}}} }}
* {{Attr|category}}: The type of places specified within this element. {{AddAnn|{{{category|}}}|{{{category_de|}}} }} <br/> Possible values are:
 
* {{Attr|category}}: The type of places specified within this element. <br/>  {{Ann| {{{category|}}} }} Possible values are:
:* {{Enum|class1}} This is used for identifying the number of first class seats within the vehicle.
:* {{Enum|class1}} This is used for identifying the number of first class seats within the vehicle.
:* {{Enum|class2}} This is used for identifying the number of standard class seats within the vehicle.
:* {{Enum|class2}} This is used for identifying the number of standard class seats within the vehicle.
:* {{Enum|class3}} This is used for identifying the number of third class seats within the vehicle.
:* {{Enum|class3}} This is used for identifying the number of third class seats within the vehicle.
:* {{Enum|standing}} This is used for identifying the number of standing places within the vehicle.
:* {{Enum|standing}} This is used for identifying the number of standing places within the vehicle.
:* {{Enum|standingArea}} This is used for identifying the capacity of the vehicle, standing room in square meters. Flip-up seats not in use.
:* {{Enum|wheelchair}} This is used for identifying the number of places available for wheelchairs within the vehicle.
:* {{Enum|wheelchair}} This is used for identifying the number of places available for wheelchairs within the vehicle.
:* {{Enum|bicycle}} This is used for identifying the number of places available for bicycles within the vehicle.
:* {{Enum|bicycle}} This is used for identifying the number of places available for bicycles within the vehicle.
:* {{Enum|couchette}} This is used for identifying the number of accommodation berths within the vehicle (couchette car).
:* {{Enum|couchette}} This is used for identifying the number of accommodation berths within the vehicle (couchette car).
:* {{Enum|bed}} This is used for identifying the number of bed places within the vehicle (sleeping car).
:* {{Enum|bed}} This is used for identifying the number of bed places within the vehicle (sleeping car).
:* {{Enum|sleepingCompartment}} This is used for identifying the number of sleeping compartments. Not differentiated in class.
:* {{Enum|chair}} This is used for identifying the number of sleeping chairs within the vehicle.
:* {{Enum|chair}} This is used for identifying the number of sleeping chairs within the vehicle.
:* {{Enum|bistro}} This is used for identifying the number of seating capacity in bistro area.
:* {{Enum|restaurant}} This is used for identifying the number of seating capacity in the restaurant/dining car.
:* {{Enum|foldingSeat}} This is used for identifying the number of Flip-up seats (folding and resting). Folding seats are seats with dedicated area for the seat when it is folded down. Resting seats are in dedicated standing area (like entry/exit area).
:* {{Enum|impairedToilet}} This is used for identifying the number of toilets usable for impaired persons.
:* {{Enum|toilet}} This is used for identifying the number of normal toilets.
:* {{Enum|business}} This is used for identifying the number of seats in special business compartments.
:* {{Enum|businessCompartment}} This is used for identifying the number of special business compartments.
:* {{Enum|family}} This is used for identifying the capacity of seats in the vehicle in family compartment with family services like playroom and baby wagon storage area/places.
:* {{Enum|familyCompartment}} This is used for identifying the number of family compartments.
:* {{Enum|toddler}} This is used for identifying the capacity of seats in the vehicle in compartments for babys and toddlers.
:* {{Enum|toddlerCompartment}} This is used for identifying the number of compartments for babys and toddlers.
:* {{OtherEnum
:* {{OtherEnum
|notes_en = This is used for identifying the number of any other type of places within the vehicle.
|notes_en = This is used for identifying the number of any other type of places within the vehicle.
|notes_de =
}}  
}}  
*{{attr|tapTsiType9039Code}}: Code list for the facility type description based on the directory of passenger code lists for the ERA technical documents used in TAP TSI (B.4.9039)
* {{Attr|count}}: The number of places within the vehicle of the type given in the {{Attr|category}} attribute of the same element. {{AddAnn|{{{count|}}}|{{{count_de|}}} }}
* {{Attr|description}}: This allows an additional description or comment for the provided places. {{AddAnn|{{{description|}}}|{{{description_de|}}} }}


* {{Attr|description}}: This allows an additional description or comment for the provided places. <br/>  {{Ann| {{{description|}}} }}
{{InheritAnyAttribute
|comment={{intro|2.3}}
|anyAttribute =
|anyAttribute_de =
}}


|constraints =
|constraints =
One {{{parentLink|FIXME}}} can have an unlimited number of {{{selfLink|FIXME}}} elements. The attributes {{Attr|count}} and {{Attr|category}} are mandatory. <br/> {{Ann| {{{constraints_en|}}} }}
* {{Attr|category}}: {{RailMLType|tPlaceCategory}}, mandatory
*{{attr|tapTsiType9039Code}}: derived by ''tDigitString'': {{railMLType|tDigitString}}
* {{Attr|count}}: {{RailMLType|tCounter}}, mandatory
* {{Attr|description}}: {{RailMLType|tElementDescription}}, optional


|backHome = {{{back|FIXME}}}
One {{{parentLink|FIXME}}} can have an unlimited number of {{{selfLink|FIXME}}} elements. {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
}}
 
|example =
<syntaxhighlight lang="xml">
<vehicle id='veh_DABpza785.2' name='DABpza785.2' numberNonDrivenAxles='4' track-Gauge='1.435' length='26.800' speed='160' bruttoWeight='55.000' net-toWeight='49.000'>
  <wagon>
    <passenger>
      <places category='class1' count='5'/>
      <places category='class2' count='89'/>
    </passenger>
  </wagon>
</vehicle>
</syntaxhighlight>
}}</includeonly><noinclude>{{TemplateDocu}}</noinclude>

Latest revision as of 23:42, 25 November 2018

Usage

This is an Element Template. Element templates are intended to avoid routine work in railML® element documentation. These templates are very specific and are therefore documented uniformely by Template:TemplateDocu. They are collected in Category:Element Template and are based on Template:ElementDocu. They represent Template:ElementDoku with specific values and hand all other parameters through to Template:ElementDoku. If you want to use or handle an Element Template, you have to examine the code to find out, which arguments are set, and you have to be careful, because occationally arguments will be renamed, so that the use of argument names of Template ElementDoku may cause errors.

Arguments

As this is a bulk documentation, we do not explain the specific arguments of element templates.

Dependencies

As this is a bulk documentation, we do not explain the specific dependencies of element templates. You can find out, which other templates the current template supports by following this link. You can find out easily, which other templates the current template employs, as templates are included via {{doubble braces}}.

Example

As this is a bulk documentation, we do not offer specific examples of element templates. You can find in the field examples by following this link.