Template:InheritGauge: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Updated using new template (Vorlage:AddAnn))
No edit summary
Line 1: Line 1:
* {{Attr|value}} {{AddAnn|{{{value|}}}|{{{value_de|}}} }}<noinclude>[[Category:AttributeTemplate]]</noinclude>
<includeonly>* {{Attr|value}} {{AddAnn|{{{value|}}}|{{{value_de|}}} }}</includeonly><noinclude>
==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.
[[Category:AttributeTemplate]]</noinclude>
==Example==
<nowiki>{{inheritGauge}}</nowiki>
 
delivers
 
{|border="1"
|
* {{Attr|value}} {{AddAnn|| }}
|}
 
<nowiki>{{inheritGauge
|value=An English comment on value
|value_de=A German comment on value
}}</nowiki>
 
delivers
 
{|border="1"
|
* {{Attr|value}} {{AddAnn|An English comment on value|A German comment on value }}
|}

Revision as of 16:43, 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