Template:InheritElectrification: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(added "none" attribute definition, deleted missing info block) |
(added frequency definition) |
||
Line 11: | Line 11: | ||
* {{Attr|voltage}} {{AddAnn|{{{voltage|}}}|{{{voltage_de|}}} }} | * {{Attr|voltage}} {{AddAnn|{{{voltage|}}}|{{{voltage_de|}}} }} | ||
* {{Attr|frequency}} {{AddAnn|{{{frequency|}}}|{{{frequency_de|}}} }}</includeonly><noinclude> | * {{Attr|frequency}}: This is the frequency in Hertz of a track circuit. For DC track circuits this shall be set to zero. Omitting this value shall be interpreted as not applicable [railML® 3.1 Tutorial Simple Example Step-by-Step Part 2: Interlocking]. {{AddAnn|{{{frequency|}}}|{{{frequency_de|}}} }}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template displayes the attributes ''type'', voltage'' and ''frequency''. For ''type'' it displayes the list of possible values, including ''other:anything'' — with a standard comment on the least, and optional comments in English and German. Moreover it allows for English and German comments on voltage and frequency. | This template displayes the attributes ''type'', voltage'' and ''frequency''. For ''type'' it displayes the list of possible values, including ''other:anything'' — with a standard comment on the least, and optional comments in English and German. Moreover it allows for English and German comments on voltage and frequency. |
Revision as of 15:15, 18 October 2022
Usage
This template displayes the attributes type, voltage and frequency. For type it displayes the list of possible values, including other:anything — with a standard comment on the least, and optional comments in English and German. Moreover it allows for English and German comments on voltage and frequency.
Attributes
The template has six optional arguments:
- type: English Comment on value other:anything of attribute type
- type_de: German Comment on value other:anything of attribute type
- voltage: English comment on attribute voltage
- voltage_de: German comment on attribute voltage
- frequency: English comment on attribute frequency
- frequency_de: German comment on attribute frequency
Dependencies
This template builds on Template:Attr, Template:Enum and Template:AddAnn. No other templates depend on it.
Examples
{{InheritElectrification}}
delivers
- type Possible values are:
- none: Non-electrified track requiring vehicles with independent self-contained propulsion [Jernbanedirektoratet railml 2.4 glossary]
- overhead: This is a catenary.
- 3rdRail: Third rail (); this is a conductor placed along or between the rails. For example, it is used by Network Rail ().
- sideRail: This is a rail for power supply conducted by pick-up shoe. For example, it is used by Berlin S-Bahn ().
- other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
- voltage
- frequency: This is the frequency in Hertz of a track circuit. For DC track circuits this shall be set to zero. Omitting this value shall be interpreted as not applicable [railML® 3.1 Tutorial Simple Example Step-by-Step Part 2: Interlocking].
{{InheritElectrification |type=English Comment on value other:anything of attribute type |type_de=German Comment on value other:anything of attribute type |voltage=English comment on attribute voltage |voltage_de=German comment on attribute voltage |frequency=English comment on attribute frequency |frequency_de=German comment on attribute frequency }}
delivers
- type Possible values are:
- none: Non-electrified track requiring vehicles with independent self-contained propulsion [Jernbanedirektoratet railml 2.4 glossary]
- overhead: This is a catenary.
- 3rdRail: Third rail (); this is a conductor placed along or between the rails. For example, it is used by Network Rail ().
- sideRail: This is a rail for power supply conducted by pick-up shoe. For example, it is used by Berlin S-Bahn ().
- other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
English Comment on value other:anything of attribute type
German Comment on value other:anything of attribute type
- voltage
English comment on attribute voltage
German comment on attribute voltage
- frequency: This is the frequency in Hertz of a track circuit. For DC track circuits this shall be set to zero. Omitting this value shall be interpreted as not applicable [railML® 3.1 Tutorial Simple Example Step-by-Step Part 2: Interlocking].
English comment on attribute frequency
German comment on attribute frequency
The template is employed by IS:electrification and IS:electrificationChange.