Template:Infobox automobile: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
en>MSGJ
(add new field for model code per discussion, also autoheaders)
Line 1: Line 1:
{{main other|{{Short description|Motor vehicle|2=noreplace}}}}
{{Infobox
{{Infobox
| bodyclass  = hproduct
| bodyclass  = hproduct
| aboveclass = fn
| aboveclass = fn
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| abovestyle = background-color:#C0C0C0; padding:4px; text-align:center; font-size:1.35em
| abovestyle = font-size:125%; background-color:#C0C0C0; padding:0.25em 1em; text-align:center;


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}|upright={{{upright|{{#if:{{{interiorimage|}}}|1.0|1.25}}}}}|suppressplaceholder=yes}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}|upright={{{upright|1.25}}}|suppressplaceholder=yes}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{interiorimage|}}}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{interioralt|}}}|upright={{{upright|1.0}}}}}
| caption2 = {{{interiorcaption|}}}


| headerstyle = background-color: #C0C0C0
| headerstyle = background-color: #C0C0C0
| autoheaders = yes


| header1 = {{#if:{{{type|}}}{{{manufacturer|}}}{{{aka|}}}{{{production|}}}{{{model_years|}}}{{{assembly|}}}{{{factory|}}}{{{designer|}}}|Overview}}
| header1 = Overview


| label2  = Type
| label2  = Type
Line 21: Line 21:
| data3    = {{{manufacturer|}}}
| data3    = {{{manufacturer|}}}


| label4  = Also&nbsp;called
| label4  = [[Car model#Model code|Model code]]
| data4    = {{{aka|}}}
| data4    = {{{model_code|}}}


| label5  = Production
| label5  = Also&nbsp;called
| data5    = {{{production|}}}
| data5    = {{{aka|}}}


| label6  = [[Model&nbsp;year]]s
| label6  = Production
| data6    = {{{model_years|}}}
| data6    = {{{production|}}}


| label7  = Assembly
| label7  = [[Model&nbsp;year]]s
| data7    = {{{assembly|}}}
| data7    = {{{model_years|}}}


| label8  = [[automotive design|Designer]]
| label8  = Assembly
| data8    = {{{designer|}}}
| data8    = {{{assembly|}}}


| header9  = {{#if:{{{class|}}}{{{body_style|}}}{{{body_style|}}}{{{platform|}}}{{{doors|}}}{{{floortype|}}}{{{chassis|}}}{{{related|}}}|Body and chassis}}
| label9  = [[automotive design|Designer]]
| data9    = {{{designer|}}}


| label10  = [[car classification|Class]]
| header10  = Body and chassis
| data10    = {{{class|}}}


| label11 = [[car classification|Body&nbsp;style]]
| label11   = [[car classification|Class]]
| data11   = {{{body_style|}}}
| data11   = {{{class|}}}


| label12  = [[automobile layout|Layout]]
| label12  = [[Car body style|Body&nbsp;style]]
| data12  = {{{layout|}}}
| data12  = {{{body_style|}}}


| label13  = [[automobile platform|Platform]]
| label13  = [[automobile layout|Layout]]
| data13  = {{{platform|}}}
| data13  = {{{layout|}}}


| label14  = Doors
| label14  = [[automobile platform|Platform]]
| data14  = {{{doors|}}}
| data14  = {{{platform|}}}


| label15  = Floor&nbsp;type
| label15  = Doors
| data15  = {{{floortype|}}}
| data15  = {{{doors|}}}


| label16  = Chassis
| label16  = Floor&nbsp;type
| data16  = {{{Chassis|{{{chassis|}}}}}}
| data16  = {{{floortype|}}}


| label17  = Related
| label17  = Chassis
| data17  = {{{related|}}}
| data17  = {{{Chassis|{{{chassis|}}}}}}


| header18 = {{#if: {{{engine|}}}{{{motor|}}}{{{capacity|}}}{{{powerout|}}}{{{transmission|}}}{{{propulsion|}}}{{{drivetrain|}}}{{{battery|}}}{{{range|}}}{{{electric_range|}}}{{{charging|}}} | Powertrain }}
| label18  = Related
| data18  = {{{related|}}}


| label19  = [[Engine]]
| header19 = Powertrain
| data19  = {{{engine|}}}


| label20  = [[Electric&nbsp;motor]]
| label20  = [[Engine]]
| data20  = {{{motor|}}}
| data20  = {{{engine|}}}


| label21  = Capacity
| label21  = [[Electric&nbsp;motor]]
| data21  = {{{Capacity|{{{capacity|}}}}}}
| data21  = {{{motor|}}}


| label22  = Power&nbsp;output
| label22  = Capacity
| data22  = {{{Power|{{{powerout|}}}}}}
| data22  = {{{Capacity|{{{capacity|}}}}}}


| label23  = [[Transmission (mechanics)|Transmission]]
| label23  = Power&nbsp;output
| data23  = {{{transmission|}}}
| data23  = {{{Power|{{{powerout|}}}}}}
| class23  = category


| label24  = Propulsion
| label24  = [[Transmission (mechanics)|Transmission]]
| data24  = {{{propulsion|}}}
| data24  = {{{transmission|}}}
| class24  = category
| class24  = category


| label25  = [[Hybrid vehicle drivetrain|Hybrid drivetrain]]
| label25  = Propulsion
| data25  = {{{drivetrain|}}}
| data25  = {{{propulsion|}}}
| class25  = category


| label26  = [[Electric vehicle battery|Battery]]
| label26  = [[Hybrid vehicle drivetrain|Hybrid drivetrain]]
| data26  = {{{battery|}}}
| data26  = {{{drivetrain|}}}


| label27  = Range
| label27  = [[Electric vehicle battery|Battery]]
| data27  = {{{range|}}}
| data27  = {{{battery|}}}


| label28  = [[All-electric range|Electric&nbsp;range]]
| label28  = Range
| data28  = {{{electric_range|}}}
| data28  = {{{range|}}}


| label29  = [[Charging station|Plug-in&nbsp;charging]]
| label29  = [[All-electric range|Electric&nbsp;range]]
| data29  = {{{charging|}}}
| data29  = {{{electric_range|}}}


| header30 = {{#if:{{{front_suspension|}}}{{{rear_suspension|}}}|Suspension}}
| label30  = [[Charging station|Plug-in&nbsp;charging]]
| data30  = {{{charging|}}}


| label31 = Front
| header31 = Suspension
| data31 = {{{front_suspension|}}}


| label32 = Rear
| label32 = Front
| data32 = {{{rear_suspension|}}}
| data32 = {{{front_suspension|}}}


| header33 = {{#if:{{{wheelbase|}}}{{{length|}}}{{{width|}}}{{{height|}}}{{{weight|}}}|Dimensions}}
| label33 = Rear
| data33 = {{{rear_suspension|}}}


| label34  = [[Wheelbase]]
| header34 = {{#if:{{{wheelbase|}}}{{{length|}}}{{{width|}}}{{{height|}}}{{{weight|}}}|Dimensions}}
| data34  = {{{wheelbase|}}}


| label35  = Length
| label35  = [[Wheelbase]]
| data35  = {{{length|}}}
| data35  = {{{wheelbase|}}}


| label36  = Width
| label36  = Length
| data36  = {{{width|}}}
| data36  = {{{length|}}}


| label37  = Height
| label37  = Width
| data37  = {{{height|}}}
| data37  = {{{width|}}}


| label38  = [[Curb weight|{{#ifeq:{{{sp|}}}|uk|Kerb|Curb}}&nbsp;weight]]
| label38  = Height
| data38  = {{{weight|}}}
| data38  = {{{height|}}}


| data39  = {{{module|}}}
| label39  = [[Curb weight|{{#ifeq:{{{sp|}}}|uk|Kerb|Curb}}&nbsp;weight]]
| data39  = {{{weight|}}}


| header40 = {{#if:{{{predecessor|}}}{{{successor|}}}{{{replaced|}}}{{{yearconstruction|}}}{{{operator|}}}|Chronology}}
| data40  = {{{module|}}}


| label41  = Predecessor
| header41 = Chronology
| data41  = {{{predecessor|}}}


| label42  = Successor
| label42  = Predecessor
| data42  = {{{successor|}}}
| data42  = {{{predecessor|}}}


}}<noinclude>{{documentation}}</noinclude>
| label43  = Successor
| data43  = {{{successor|}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox automobile with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox automobile]] with unknown parameter "_VALUE_"|ignoreblank=y| aka | alt | assembly | battery | body_style | capacity | Capacity | caption | charging | chassis | Chassis | class | designer | doors | drivetrain | electric_range | engine | factory | floortype | front_suspension | height | image | image_size | layout | length | manufacturer | model_years | model_code | module | motor | name | operator | platform | Power | powerout | predecessor | production | propulsion | range | rear_suspension | related | replaced | sp | successor | transmission | type | upright | weight | wheelbase | width | yearconstruction }}<noinclude>{{documentation}}</noinclude>

Revision as of 15:57, 24 November 2023