Difference between revisions of "Template:Infobox vehicle"

From Grand Theft Wiki
Jump to: navigation, search
([[Image::File:{{{image}}}| ]]}})
m (fix)
Line 11: Line 11:
 
|abovestyle = font-size: 150%;
 
|abovestyle = font-size: 150%;
  
|image        = {{#if:{{{front_image|}}}|[[File:{{{front_image}}}|{{#if:{{{image_size|}}}|{{{image_size|}}}px|170px}}|center|{{{caption}}}&#46;]]}}{{#if:{{{rear_image|}}}|(<small>[[:File:{{{rear_image|}}}{{!}}Rear quarter view{{#if:{{{rear_image_add_caption|}}}|&#59;&#32;{{{rear_image_add_caption|}}}}}]]</small>)|}}{{#if:{{{caption|}}}|{{#if:{{{rear_image|}}}|<br />|}}{{{caption|}}}&#46;|}}[[Image::File:{{{front_image}}}| ]]}}
+
|image        = {{#if:{{{front_image|}}}|[[File:{{{front_image}}}|{{#if:{{{image_size|}}}|{{{image_size|}}}px|170px}}|center|{{{caption}}}&#46;]]}}{{#if:{{{rear_image|}}}|(<small>[[:File:{{{rear_image|}}}{{!}}Rear quarter view{{#if:{{{rear_image_add_caption|}}}|&#59;&#32;{{{rear_image_add_caption|}}}}}]]</small>)|}}{{#if:{{{caption|}}}|{{#if:{{{rear_image|}}}|<br />|}}{{{caption|}}}&#46;|}}[[Image::File:{{{front_image}}}| ]]
  
 
|imagestyle  = {{{imagestyle|}}}
 
|imagestyle  = {{{imagestyle|}}}

Revision as of 00:04, 11 August 2012


This documentation is imported from Template:Infobox vehicle/doc

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

{{Infobox vehicle
| 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
| body_style               = Vehicle class in detail, including number of doors and body design
| capacity                 = Number of occupants the vehicle can carry, including driver and passenger
| manufacturer             = Manufacturer of the vehicle. Usually applicable for vehicles in GTA IV
| 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 featured in
}}