No edit summary |
WildBrick142 (talk | contribs) |
||
Line 4: | Line 4: | ||
{{#if:{{{front_image|}}}|{{!}} colspan="2" class="fullwidth" style="" {{!}}[[File:{{{front_image}}}|{{#if:{{{image_size|}}}|{{{image_size|}}}|250}}px|center|link=File:{{{front_image}}}]]<center>{{{caption}}}{{#if:{{{rear_image|}}}|<br />(<small>[[:File:{{{rear_image}}}|Rear quarter view{{#if:{{{rear_image_add_caption|}}}|; {{{rear_image_add_caption|}}}|}}]]</small>)</center>|}}}} |
{{#if:{{{front_image|}}}|{{!}} colspan="2" class="fullwidth" style="" {{!}}[[File:{{{front_image}}}|{{#if:{{{image_size|}}}|{{{image_size|}}}|250}}px|center|link=File:{{{front_image}}}]]<center>{{{caption}}}{{#if:{{{rear_image|}}}|<br />(<small>[[:File:{{{rear_image}}}|Rear quarter view{{#if:{{{rear_image_add_caption|}}}|; {{{rear_image_add_caption|}}}|}}]]</small>)</center>|}}}} |
||
|- |
|- |
||
− | {{#if:{{{front_image2|}}}|{{!}} colspan="2" class="fullwidth" style="" {{!}[[File:{{{front_image2}}}|{{#if:{{{image_size2|}}}|{{{image_size2|}}}|250}}px|center|link=File:{{{front_image2}}}]]<center>{{{caption2}}}{{#if:{{{rear_image2|}}}|<br />(<small>[[:File:{{{rear_image2}}}|Rear quarter view{{#if:{{{rear_image_add_caption2|}}}|; {{{rear_image_add_caption2|}}}|}}]]</small>)</center>|}}}} |
+ | {{#if:{{{front_image2|}}}|{{!}} colspan="2" class="fullwidth" style="" {{!}}[[File:{{{front_image2}}}|{{#if:{{{image_size2|}}}|{{{image_size2|}}}|250}}px|center|link=File:{{{front_image2}}}]]<center>{{{caption2}}}{{#if:{{{rear_image2|}}}|<br />(<small>[[:File:{{{rear_image2}}}|Rear quarter view{{#if:{{{rear_image_add_caption2|}}}|; {{{rear_image_add_caption2|}}}|}}]]</small>)</center>|}}}} |
{{#if:{{{aka|}}}| |
{{#if:{{{aka|}}}| |
||
{{pipe}}-<!-- Representing "|-" --> |
{{pipe}}-<!-- Representing "|-" --> |
Revision as of 17:53, 24 September 2014
The following code will display the infobox example illustrated to the right. The list of available inputs are provided below:
Template:Infobox vehicles
{{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").
| front_image2 = Second image for vehicles that have one or more design variant.
| image_size = Image size in pixels. Insert number only. The default width is 300 pixels.
| image_size2 = Image size for the second image.
| caption = Caption for lead image.
| caption2 = Caption for the second image.
| rear_image = Filename of alternate image, usually a rear quarter image.
| rear_image2 = Rear image for the second image.
| rear_image_add_caption = Additional caption for the Rear Quarter view
| rear_image_add_caption2 = Additional caption for the second Rear Quarter view
| vehicle_class = Vehicle class in GTA V (i.e. Super, Sports, Off-road, etc).
| vehicle_type = Vehicle type (i.e. Civilian, law enforcement, military, public service; car/sports car/muscle car, truck, bus, bicycle/motorcycle, boat, etc).
| body_style = Vehicle type 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 HD Universe, although a handful of examples out the game exist.
| price = The amount of money required to buy the vehicle in GTA V and GTA Online.
| 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 of games which the vehicle appear in.
| related = What vehicles that is related to.
}}