Template:Infobox vehicle: Difference between revisions

mNo edit summary
mNo edit summary
Line 4: Line 4:
| colspan="2" style="background: #FFFFFF; color: #000000;"|
| colspan="2" style="background: #FFFFFF; color: #000000;"|
{{#if:{{{front_image|}}}|[[Image:{{{front_image}}}|{{{image_size}}}px|center]]<center>{{{caption}}}
{{#if:{{{front_image|}}}|[[Image:{{{front_image}}}|{{{image_size}}}px|center]]<center>{{{caption}}}
{{#if:{{{rear_image|}}}|<br>(<small>[[:Image:{{{rear_image|}}}|Rear quarter view{{#if:{{{rear_image_add_caption|}}}|&#59; {{{rear_image_add_caption|}}}|}}]]</small>).|.}}</center>
{{#if:{{{rear_image|}}}|<br>(<small>[[:Image:{{{rear_image|}}}|Rear quarter view{{#if:{{{rear_image_add_caption|}}}|&#59; {{{rear_image_add_caption|}}}&#46;|&#46;}}]]</small>)|}}</center>
}}
}}
{{#if:{{{aka|}}}|
{{#if:{{{aka|}}}|

Revision as of 04:57, 10 August 2011

{{{name}}}

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.
| vehicle_type = Vehicle class (i.e. Civilian, law enforcement, military, public service; car/sports car/muscle car, truck, bus, bicycle/motorcycle, boat, etc).
| body_style = Vehicle class in detail, including number of doors and body design (2-door sedan, 2-door garbage truck, 4-door station wagon). This field is not needed for buses, motorcycles, bicycles, low-powered vehicles, watercraft and aircraft
| capacity = Number of occupants the vehicle can carry, including driver and passenger.
| manufacturer = Manufacturer of the vehicle. Usually applicable for vehicles in GTA IV, although a handful of examples out the game exist.
| getting_it = How or where can you get it. Only for vehicles that never spawns in the game but spawns during a mission. Or when you have other stuffs.
| appearances = List games which the vehicle is based in.
}}