Template:Infobox vehicle: Difference between revisions

From PZwiki
(Initial infobox for vehicles)
 
No edit summary
Line 5: Line 5:
| headerstyle = background-color:#eee; padding:5px
| headerstyle = background-color:#eee; padding:5px


| header1     = Overview
| 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     = Body
| header7   = {{#if:{{{seats|}}}{{{doors|}}}{{{trunk_storage|}}}|Body}}
 
| label8    = Model
| data8      = {{{model|}}}


| label9    = Seats
| label9    = Seats
| data9      = {{{seats|}}}
| data9      = {{#if:{{{seats|}}}|{{abbr|{{{seats|}}}|This value can vary depending on the variant.}}}}


| label10     = Doors
| label10   = Doors
| data10     = {{{doors|}}}
| 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

[view] [edit] [history] [purge] Template documentation
Infobox used for vehicles.

Usage

name
Image.png
caption
Overview
Manufacturer manufacturer
Vehicle type vehicle_type
Weight weight
Engine power engine_power hp
Engine loudness engine_loudness
Body
Seats seats
Doors doors
Trunk storage trunk_storage
Variants
Service service
Style style
Technical details
{{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)