Template:Infobox Vehicle: Difference between revisions

From GearKnob Wiki
Jump to navigationJump to search
(Encased acc in if statement, as per Elessar2's advice.)
mNo edit summary
Line 25: Line 25:
| data4      ={{{litre}}}.{{{decl}}}L {{{design}}}-{{{cyl}}} [[Category:{{{type}}}s with an engine displacement of {{{litre}}} - {{{litre}}}.9 litres]] [[Category:{{{type}}}s with an exact engine displacement of {{{litre}}}.{{{decl}}} litres]] [[Category:{{{type}}}s with {{{design}}}-{{{cyl}}} engines]] [[Category:{{{type}}}s with {{{cyl}}} cylinder engines]]
| data4      ={{{litre}}}.{{{decl}}}L {{{design}}}-{{{cyl}}} [[Category:{{{type}}}s with an engine displacement of {{{litre}}} - {{{litre}}}.9 litres]] [[Category:{{{type}}}s with an exact engine displacement of {{{litre}}}.{{{decl}}} litres]] [[Category:{{{type}}}s with {{{design}}}-{{{cyl}}} engines]] [[Category:{{{type}}}s with {{{cyl}}} cylinder engines]]
| label5      =0-60
| label5      =0-60
| data5      ={{#if:{{{acc|}}} sec [[Category:Vehicles with a 0-60 time of {{{acc}}} seconds]]}}
| data5      ={{#if:{{{acc|}}}{{{acc|}}} sec [[Category:Vehicles with a 0-60 time of {{{acc}}} seconds]]}}
| label6      =Top Speed
| label6      =Top Speed
| data6      ={{{mph}}} MPH ({{{kph}}} KPH) [[Category:Vehicles with a top speed of {{{mph}}} MPH/{{{kph}}} KPH]]
| data6      ={{{mph}}} MPH ({{{kph}}} KPH) [[Category:Vehicles with a top speed of {{{mph}}} MPH/{{{kph}}} KPH]]

Revision as of 12:39, 19 January 2022