Template:InheritGauge: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
No edit summary
No edit summary
Line 8: Line 8:
===Dependencies===
===Dependencies===
This template depends on [[Template:Attr]] and [[Template:AddAnn]]. No other templates build on it.
This template depends on [[Template:Attr]] and [[Template:AddAnn]]. No other templates build on it.
[[Category:AttributeTemplate]]</noinclude>
==Example==
==Example==
<nowiki>{{inheritGauge}}</nowiki>
<nowiki>{{inheritGauge}}</nowiki>
Line 30: Line 29:
* {{Attr|value}} {{AddAnn|An English comment on value|A German comment on value }}
* {{Attr|value}} {{AddAnn|An English comment on value|A German comment on value }}
|}
|}
The template is employed by [[IS:gauge]] and [[IS:gaugeChange]]
[[Category:AttributeTemplate]]</noinclude>

Revision as of 16:45, 15 February 2016

Usage

This template displays the specific attribute value to gauges and allows for an English and a German comment.

Arguments

The template has two optional arguments:

  • value: an English comment on value
  • value_de: a German comment on value

Dependencies

This template depends on Template:Attr and Template:AddAnn. No other templates build on it.

Example

{{inheritGauge}}

delivers

  • value

{{inheritGauge |value=An English comment on value |value_de=A German comment on value }}

delivers

  • value
    An English comment on value
    A German comment on value

The template is employed by IS:gauge and IS:gaugeChange