Template:Infobox vehicle: Difference between revisions

No edit summary
No edit summary
Line 8: Line 8:
{{pipe}}width="20%" style="text-align:left;"{{{manufacturer|}}}|
{{pipe}}width="20%" style="text-align:left;"{{{manufacturer|}}}|
{{pipe}}-
{{pipe}}-
|
}}
}}
{{#if:{{{vehicle_type|}}}|
{{#if:{{{vehicle_type|}}}|
Line 14: Line 15:
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{vehicle_type|}}}|
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{vehicle_type|}}}|
{{pipe}}-
{{pipe}}-
|
}}
}}
{{#if:{{{body_style|}}}|
{{#if:{{{body_style|}}}|
Line 20: Line 22:
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{body_style|}}}|
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{body_style|}}}|
{{pipe}}-
{{pipe}}-
|
}}
}}
{{#if:{{{capacity|}}}|
{{#if:{{{capacity|}}}|
Line 26: Line 29:
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{capacity|}}}|
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{capacity|}}}|
{{pipe}}-
{{pipe}}-
|
}}
}}
{{#if:{{{top_speed|}}}|
{{#if:{{{top_speed|}}}|
Line 32: Line 36:
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{top_speed|}}}|
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{top_speed|}}}|
{{pipe}}-
{{pipe}}-
|
}}
}}
{{#if:{{{endurance|}}}|
{{#if:{{{endurance|}}}|
Line 38: Line 43:
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{endurance|}}}|
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{endurance|}}}|
{{pipe}}-
{{pipe}}-
|
}}
}}
{{#if:{{{appearances|}}}|
{{#if:{{{appearances|}}}|
Line 44: Line 50:
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{appearances|}}}|
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{appearances|}}}|
{{pipe}}-
{{pipe}}-
|
}}
}}
{{#if:{{{based_on|}}}|
{{#if:{{{based_on|}}}|
Line 50: Line 57:
{{pipe}}width="20%" style="text-align:left;"{{pipe}}See {{{based_on|}}}.|
{{pipe}}width="20%" style="text-align:left;"{{pipe}}See {{{based_on|}}}.|
{{pipe}}-
{{pipe}}-
|
}}
}}
|}<noinclude>
|}<noinclude>

Revision as of 06:03, 9 December 2009

{{{name}}}
colspan="2" style="background: #FFFFFF; color: #000000;" -

The following code will display the infobox illustrated to the right. The list of available inputs are provided below:

{{Infobox vehicles
| name = Name of vehicle.
| front_image = Filename of lead image, or image illustrating the front quarter view of a vehicle (i.e. "Imagename.jpg").
| image_size = Image size in pixels. Insert number only. The default width is 300 pixels.
| caption = Caption for lead image.
| rear_image = Filename of alternate image, usually a rear quarter image.
| manufacturer = Manufacturer of the vehicle. Usually applicable for vehicles in GTA IV, although a handful of examples out the game exist.
| vehicle_type = Vehicle class (i.e. Station wagon, truck, bus, sports car, etc).
| body_style = Vehicle class in detail, including number of doors (4-door sedan, 2-door hatchback, etc).
| capacity = Number of occupants the vehicle can carry, including driver and passenger.
| top_speed = Rate as low, average, or high.
| endurance = Rate as low, average, or high.
| appearances = List games which the vehicle is based in.
| based_on = Typically linked to section explaining similar real-life counterparts of the vehicle (i.e. "#Design").
}}