Jump to content

Template:Infobox automobile: Difference between revisions

From the Vrienden Universe, a fictional wiki
wiki>Zackmann08
Improving nested param logic using unnest; Adding conflicting parameter tracking through Category:Pages using infobox automobile with conflicting parameters using AddCheckForConflictingParameters and Module:check for conflicting parameters
 
Add Era field to infobox template
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{main other|{{Short description|Motor vehicle|2=noreplace}}}}
{{main other|{{Short description|Motor vehicle|2=noreplace}}}}
<templatestyles src="Template:Infobox automobile/styles.css" />
{{Infobox
{{Infobox
| bodyclass  = hproduct
| bodyclass  = hproduct infobox-automobile
| aboveclass = fn
| aboveclass = fn
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
Line 41: Line 42:
| header10  = Body and chassis
| header10  = Body and chassis


| label11  = [[car classification|Class]]
| label11  = Class
| data11    = {{{class|}}}
| data11    = {{{class|}}}


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


| label13  = [[Powertrain layout|Layout]]
| label13  = Layout
| data13  = {{{layout|}}}
| data13  = {{{layout|}}}


Line 67: Line 68:
| header19 = Powertrain
| header19 = Powertrain


| label20  = [[Engine]]
| label20  = Engine
| data20  = {{{engine|}}}
| data20  = {{{engine|}}}


Line 79: Line 80:
| data23  = {{if empty|{{{Power|}}}|{{{powerout|}}}}}
| data23  = {{if empty|{{{Power|}}}|{{{powerout|}}}}}


| label24  = [[Transmission (mechanical device)|Transmission]]
| label24  = Transmission
| data24  = {{{transmission|}}}
| data24  = {{{transmission|}}}
| class24  = category
| class24  = category
Line 137: Line 138:
| data43  = {{{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 }}{{#invoke:Check for conflicting parameters|check
 
| label44 = Era
| data44  = {{{era|}}}
}}{{#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  
| era
}}{{#invoke:Check for conflicting parameters|check
| template = [[Template:Infobox automobile]]
| template = [[Template:Infobox automobile]]
| cat = {{main other|Category:Pages using infobox automobile with conflicting parameters}}
| cat = {{main other|Category:Pages using infobox automobile with conflicting parameters}}

Latest revision as of 00:06, 11 July 2026