Template:RailGauge: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
No edit summary
Line 2: Line 2:
|standard
|standard
|Standard=standard (4 ft 8½")
|Standard=standard (4 ft 8½")
|{{#vardefine:feet|{{#expr:{{{1}}} round0}}}}{{#ifexpr:{{#var:feet}}={{{1}}}|{{{1}}} ft|{{#var:feet}}ft {{#expr:({{{1}}}-{{#var:feet}})*12}}"}}}}<noinclude>[[Category:Convert templates|RailGauge]]
|{{#vardefine:feet|{{#expr:{{{1}}}/12 round0}}}}{{#ifexpr:{{#var:feet}}={{#expr:{{{1}}}/12}}|{{#var:feet}} ft|{{#var:feet}}ft {{#expr:({{{1}}}-{{#expr:{{#var:feet}}*12)}}"}}}}<noinclude>[[Category:Convert templates|RailGauge]]

Revision as of 23:41, 4 January 2013

{{#switch:{{{1}}} |standard |Standard=standard (4 ft 8½") |Expression error: Unexpected < operator.