Template:InheritPowerTransmission: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Updated using new template (Vorlage:AddAnn)) |
(Added "unclear semantics" statement for the "style" attribute. Deleted missing info block) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|type}} Possible values are: | |||
:* {{Enum|adhesion}} stands for the adhesion railway. For further details see {{wiki|Adhesion_railway}} | |||
:* {{Enum|gearrack}} stands for the rack railway. For further details see {{wiki|Rack_railway}} | |||
:* {{Enum|cable}} stands for the overhead line. For further details see {{wiki|Overhead_line}} | |||
:* {{OtherEnum | |||
|notes_en = | |||
|notes_de = | |||
}} {{AddAnn|{{{type|}}}|{{{type_de|}}} }} | |||
* {{Attr|style}} {{AddAnn|{{{style|}}}|{{{style_de|}}} }} the semantics is unclear for now. This attribute should not be used if possible. | |||
</includeonly><noinclude> | |||
==Usage== | |||
This template displays the attributes ''type'' and ''style''. For ''type'' it lists the possible values ''adhesion'', gearrack'', ''cable'' and ''other:anything'' (see [[CO:usingAny#New enumeration value]]). Both attributes can be commented optionally as weel in English as in German. | |||
===Arguments=== | |||
The templlate allows for four optional arguments: | |||
*type: English comment on type | |||
*type_de: German comment on type | |||
*style: English comment on style | |||
*style_de: German comment on style | |||
===Dependencies=== | |||
The template depends on [[Template:Attr]], [[Template:Enum]], [[Template:OtherEnum]] and [[Template:AddAnn]]. No other templates build on it. | |||
==Examples== | |||
<pre>{{InheritPowerTransmission}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|type}} Possible values are: | |||
:* {{Enum|adhesion}} | |||
:* {{Enum|gearrack}} | |||
:* {{Enum|cable}} | |||
:* {{OtherEnum | |||
|notes_en = | |||
|notes_de = | |||
}} {{AddAnn|| }} | |||
* {{Attr|style}} {{AddAnn|| }} | |||
|} | |||
<pre>{{InheritPowerTransmission | |||
|type=English comment on type | |||
|type_de=German comment on type | |||
|style=English comment on style | |||
|style_de=German comment on style | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|type}} Possible values are: | * {{Attr|type}} Possible values are: | ||
:* {{Enum|adhesion}} | :* {{Enum|adhesion}} | ||
Line 6: | Line 56: | ||
|notes_en = | |notes_en = | ||
|notes_de = | |notes_de = | ||
}} {{AddAnn| | }} {{AddAnn|English comment on type|German comment on type }} | ||
* {{Attr|style}} {{AddAnn|English comment on style|German comment on style }} | |||
|} | |||
The template is employed by [[IS:powerTransmission]] and [[IS:powerTransmissionChange]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Latest revision as of 12:59, 9 November 2022
Usage
This template displays the attributes type and style. For type it lists the possible values adhesion, gearrack, cable and other:anything (see CO:usingAny#New enumeration value). Both attributes can be commented optionally as weel in English as in German.
Arguments
The templlate allows for four optional arguments:
- type: English comment on type
- type_de: German comment on type
- style: English comment on style
- style_de: German comment on style
Dependencies
The template depends on Template:Attr, Template:Enum, Template:OtherEnum and Template:AddAnn. No other templates build on it.
Examples
{{InheritPowerTransmission}}
delivers
|
{{InheritPowerTransmission |type=English comment on type |type_de=German comment on type |style=English comment on style |style_de=German comment on style }}
delivers
|
The template is employed by IS:powerTransmission and IS:powerTransmissionChange.