Template:Infobox vehicle: Difference between revisions
(Initial infobox for vehicles) |
No edit summary |
||
Line 5: | Line 5: | ||
| headerstyle = background-color:#eee; padding:5px | | headerstyle = background-color:#eee; padding:5px | ||
| header1 | | header1 = {{#if:{{{manufacturer|}}}{{{vehicle_type|{{{type|}}}}}}{{{weight|}}}{{{engine_power|{{{power|}}}}}}{{{engine_loudness|{{{loudness|}}}}}}|Overview}} | ||
| label2 = Manufacturer | | label2 = Manufacturer | ||
Line 14: | Line 14: | ||
| label4 = Weight | | label4 = Weight | ||
| data4 = {{{weight|}}} | | data4 = {{#if:{{{weight|}}}|{{abbr|{{{weight|}}}|This value can vary depending on the contents, installed parts and variants.}}}} | ||
| label5 = Engine power | | label5 = Engine power | ||
| data5 = {{{engine_power|{{{power|}}}}}} | | data5 = {{#if:{{{engine_power|{{{power|}}}}}}|{{abbr|{{{engine_power|{{{power|}}}}}} hp|This value can vary depending on the engine condition and variants.}}}} | ||
| label6 = Engine loudness | | label6 = Engine loudness | ||
| data6 = {{{engine_loudness|{{{loudness|}}}}}} | | data6 = {{#if:{{{engine_loudness|{{{loudness|}}}}}}|{{abbr|{{{engine_loudness|{{{loudness|}}}}}}|This value can vary depending on the engine condition and variants.}}}} | ||
| header7 | | header7 = {{#if:{{{seats|}}}{{{doors|}}}{{{trunk_storage|}}}|Body}} | ||
| | |||
| | |||
| label9 = Seats | | label9 = Seats | ||
| data9 = {{{seats|}}} | | data9 = {{#if:{{{seats|}}}|{{abbr|{{{seats|}}}|This value can vary depending on the variant.}}}} | ||
| label10 | | label10 = Doors | ||
| data10 | | data10 = {{#if:{{{doors|}}}|{{abbr|{{{doors|}}}|This value can vary depending on the variant.}}}} | ||
| label11 = Trunk storage | | label11 = Trunk storage | ||
| data11 = {{{trunk_storage|{{{trunk|}}}}}} | | data11 = {{#if:{{{trunk_storage|{{{trunk|}}}}}}|{{abbr|{{{trunk_storage|{{{trunk|}}}}}}|This value can vary depending on the trunk condition.}}}} | ||
| header12 = Variants | | header12 = {{#if:{{{service|}}}{{{style|}}}|Variants}} | ||
| label13 = Service | | label13 = Service | ||
Line 43: | Line 40: | ||
| label14 = Style | | label14 = Style | ||
| data14 = {{{style|}}} | | data14 = {{{style|}}} | ||
| header15 = {{#if:{{{model|}}}{{{class_name}}}|Technical details}} | |||
| label16 = Model | |||
| data16 = {{{model|}}} | |||
| label17 = Class name | |||
| data17 = {{#if:{{{class_name|}}}|{{abbr|{{{class_name|}}}|This value can vary depending on the variant.}}}} | |||
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude> | }}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude> |
Revision as of 06:51, 27 July 2018
Infobox used for vehicles.
Usage
{{Infobox vehicle | name = | name_colour = | name_text_colour = | image = | image_caption = <!--GENERAL--> | manufacturer = | vehicle_type = | weight = | engine_power = | engine_loudness = <!--BODY--> | seats = | doors = | trunk_storage = | glove_box = <!--VARIANTS--> | service = | style = | color = <!--Technical details--> | model = |item_id = }}
Documentation transcluded from Template:Infobox vehicle/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)