Template:Infobox vehicle: Difference between revisions

From PZwiki
(added glove box slot)
mNo edit summary
Line 38: Line 38:
| data11    = {{#if:{{{trunk_storage|{{{trunk|}}}}}}|{{abbr|{{{trunk_storage|{{{trunk|}}}}}}|This value can vary depending on the trunk condition.}}}}
| data11    = {{#if:{{{trunk_storage|{{{trunk|}}}}}}|{{abbr|{{{trunk_storage|{{{trunk|}}}}}}|This value can vary depending on the trunk condition.}}}}


| label33   = Glove
| label12   = Glove box
| data33     = {{#if:{{{glove|}}}|{{abbr|{{{glove|}}}|This value is constant regardless of condition}}}}
| data12     = {{#if:{{{glove_box|{{{glove|}}}}}}|{{abbr|{{{glove_box|{{{glove|}}}}}}|This value can vary depending on the trunk condition.}}}}


| header12   = {{#if:{{{service|}}}{{{style|}}}{{{colors|}}}|Variants}}
| header13   = {{#if:{{{service|}}}{{{style|}}}{{{colors|}}}|Variants}}


| label13   = Service
| label14   = Service
| data13     = {{{service|}}}
| data14     = {{{service|}}}


| label14   = Style
| label15   = Style
| data14     = {{{style|}}}
| data15     = {{{style|}}}


| label15   = Available colours
| label16   = Available colours
| data15     = {{{colors|}}}
| data16     = {{{colors|}}}


| header16   = {{#if:{{{model|}}}{{{class_name|}}}|Technical details}}
| header17   = {{#if:{{{model|}}}{{{class_name|}}}|Technical details}}


| label17   = Model
| label18   = Model
| data17     = {{{model|}}}
| data18     = {{{model|}}}


| label32    = Base ID
| label32    = Base ID
| data32    = {{#if:{{{no_style|false|}}}|{{ID|{{{class_name|[[#Item IDs|Item IDs]]}}}}}|{{{class_name|[[#Vehicle IDs|Vehicle IDs]]}}}}}
| data32    = {{#if:{{{no_style|false|}}}|{{ID|{{{class_name|[[#Item IDs|Item IDs]]}}}}}|{{{class_name|[[#Vehicle IDs|Vehicle IDs]]}}}}}
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>

Revision as of 07:46, 11 June 2023

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

Usage

name
Image.png
caption
General
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
Glove box glove_box
Variants
Service service
Style style
Available colours colors
Base ID Item IDs
{{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)