Template:Infobox vehicle: Difference between revisions

From PZwiki
mNo edit summary
(added colours parameter)
Line 33: Line 33:
| 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.}}}}


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


| label13    = Service
| label13    = Service
Line 41: Line 41:
| data14    = {{{style|}}}
| data14    = {{{style|}}}


| header15  = {{#if:{{{model|}}}{{{class_name|}}}|Technical details}}
| label15    = Available colours
| data15    = {{{colors|}}}


| label16    = Model
| header16  = {{#if:{{{model|}}}{{{class_name|}}}|Technical details}}
| data16    = {{{model|}}}


| label17    = Class name
| label17    = Model
| data17    = {{#if:{{{class_name|}}}|{{abbr|{{{class_name|}}}|This value can vary depending on the variant.}}}}
| data17    = {{{model|}}}
 
| label18    = Class name
| data18    = {{{class_name|}}}
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>

Revision as of 04:40, 31 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
Available colours colors
{{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)