Template:Infobox vehicle: Difference between revisions

From PZwiki
m (increased width)
mNo edit summary
Line 2: Line 2:
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{{name|{{PAGENAME}}}}}</span></div>
| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{{name|{{PAGENAME}}}}}</span></div>
| image      = {{#if: {{{image|}}}|[[File:{{{image}}}|{{{image_size|image_width|294px}}}|link={{filepath:{{{image}}}}}]]}}
| image      = {{#if: {{{image|}}}|[[File:{{{image}}}|{{{image_size|294px|image_width}}}|link={{filepath:{{{image}}}}}]]}}


| caption    = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}
| caption    = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}

Revision as of 15:54, 7 March 2019

[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
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)