GTA Wiki
Register
GTA Wiki
19,748
pages
No edit summary
No edit summary
(45 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{|class="infobox bordered vcard" style="width: 23em; text-align: left; font-size: 89%;"
 
{|class="infobox bordered vcard" style="width: 23em; text-align: left; font-size: 89%;"
!colspan="2" style="background: #FFFFFF; color: #000000;"|<center>'''{{{name}}}'''</center>
+
!colspan="2" style="background: #969696; color: #000000;"|<center>'''{{PAGENAME}}'''</center>
 
|-
 
|-
| colspan="2" style="background: #FFFFFF; color: #000000;" |{{#if:{{{front_image|}}}|[[Image:{{{front_image|}}}|{{{image_size}}}px|center|]]<center>{{{caption}}}{{#if:{{{rear_image|}}}|(<small>[[:Image:{{{rear_image|}}}|Rear quarter view]]</small>)|}}.</center>
+
| colspan="2" style="background: #969696; color: #000000;" |{{#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:{{{manufacturer|}}}|
+
{{#if:{{{aka|}}}|
 
{{pipe}}-<!-- Representing "|-" -->
 
{{pipe}}-<!-- Representing "|-" -->
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Manufacturer:'''{{pipe}}width="20%" style="text-align:left;"{{{manufacturer|}}}|}}
+
!width="10%" style="text-align:center;"{{pipe}}'''Also known as'''
 
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{aka|}}}|
 
{{pipe}}-
  +
|
 
}}
 
{{#if:{{{vehicle_class|}}}|
  +
{{pipe}}-
  +
!width="10%" style="text-align:center;"{{pipe}}'''Vehicle class ([[Grand Theft Auto V|GTA V]])'''
 
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{vehicle_class|}}}|
  +
{{pipe}}-
  +
|
  +
}}
 
{{#if:{{{vehicle_type|}}}|
 
{{#if:{{{vehicle_type|}}}|
 
{{pipe}}-
 
{{pipe}}-
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Vehicle type:'''{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{vehicle_type|}}}
+
!width="10%" style="text-align:center;"{{pipe}}'''Vehicle type'''
 
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{vehicle_type|}}}|
|}}
 
  +
{{pipe}}-
  +
|
  +
}}
 
{{#if:{{{body_style|}}}|
 
{{#if:{{{body_style|}}}|
 
{{pipe}}-
 
{{pipe}}-
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Body style:'''{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{body_style|}}}|}}
+
!width="10%" style="text-align:center;"{{pipe}}'''Body style'''
  +
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{body_style|}}}|
  +
{{pipe}}-
  +
|
  +
}}
 
{{#if:{{{capacity|}}}|
 
{{#if:{{{capacity|}}}|
 
{{pipe}}-
 
{{pipe}}-
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Capacity:'''{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{capacity|}}}|}}
+
!width="10%" style="text-align:center;"{{pipe}}'''Capacity'''
  +
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{capacity|}}}|
{{#if:{{{top_speed|}}}|
 
 
{{pipe}}-
 
{{pipe}}-
  +
|
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Top speed:'''{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{top_speed|}}}|}}
 
  +
}}
{{#if:{{{endurance|}}}|
 
{{pipe}}-
 
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Endurance:'''{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{endurance|}}}|}}
 
 
{{#if:{{{appearances|}}}|
 
{{#if:{{{appearances|}}}|
 
{{pipe}}-
 
{{pipe}}-
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Appearance(s):'''{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{appearances|}}}|}}
+
!width="10%" style="text-align:center;"{{pipe}}'''Appearance(s)'''
  +
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{appearances|}}}|
{{#if:{{{based_on|}}}|
 
 
{{pipe}}-
 
{{pipe}}-
  +
|
{{!}}width="10%" style="text-align:center;"{{pipe}}'''Based on:'''{{pipe}}width="20%" style="text-align:left;"{{pipe}}See {{{based_on|}}}.|}}
 
|}
+
}}
  +
{{#if:{{{manufacturer|}}}|
<noinclude>[[Category:Templates]][[category:infoboxes]]</noinclude>
 
  +
{{pipe}}-
  +
!width="10%" style="text-align:center;"{{pipe}}'''Manufacturer'''
  +
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{manufacturer|}}}|
  +
{{pipe}}-
  +
|
  +
}}
 
{{#if:{{{price|}}}|
  +
{{pipe}}-
  +
!width="10%" style="text-align:center;"{{pipe}}'''Price'''
  +
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{price|}}}|
  +
{{pipe}}-
  +
|
  +
}}
  +
{{#if:{{{getting_it|}}}|
  +
{{pipe}}-
  +
!width="10%" style="text-align:center;"{{pipe}}'''How/Where to get it'''
  +
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{getting_it|}}}|
  +
{{pipe}}-
  +
|
  +
}}
 
{{#if:{{{related|}}}|
  +
{{pipe}}-
  +
!width="10%" style="text-align:center;"{{pipe}}'''Related vehicle(s)'''
  +
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{related|}}}|
  +
{{pipe}}-
  +
|
  +
}}
  +
|}<noinclude>
  +
The following code will display the infobox illustrated to the right. The list of available inputs are provided below:
  +
  +
<code><nowiki>{{Infobox vehicles</nowiki><br>
  +
| name = Name of vehicle.<br>
  +
| front_image = Filename of lead image, or image illustrating the front quarter view of a vehicle (i.e. "Imagename.jpg").<br>
  +
| image_size = Image size in pixels. Insert number only. The default width is 300 pixels.<br>
  +
| caption = Caption for lead image.<br>
  +
| rear_image = Filename of alternate image, usually a rear quarter image.<br>
  +
| vehicle_class = Vehicle class (i.e. Super, Sports, off-road, etc).<br>
  +
| vehicle_type = Vehicle type (i.e. Civilian, [[:Category:Military|law enforcement]], [[:Category:Military|military]], [[:Category:Public Service Vehicles|public service]]; car/[[:Category:Sports Cars|sports car]]/[[:Category:Muscle Cars|muscle car]], [[:Category:Trucks|truck]], [[:Category:Buses|bus]], [[:Category:Bikes|bicycle/motorcycle]], [[:Category:Boats|boat]], etc).<br>
  +
| body_style = Vehicle type in detail, including number of doors and body design ([[:Category:Vehicles in The Ballad of Gay Tony|2-door sedan]], [[:Category:Trucks|2-door garbage truck]], [[:Category:Station Wagons|4-door station wagon]]). This field is not needed for buses, motorcycles, bicycles, low-powered vehicles, watercraft and aircraft<br>
  +
| capacity = Number of occupants the vehicle can carry, including driver and passenger.<br>
  +
| manufacturer = Manufacturer of the vehicle. Usually applicable for vehicles in GTA IV, although a handful of examples out the game exist.<br>
  +
| price = The amount of money required to buy this car in GTA Online<br>
  +
| 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.<br />
  +
| appearances = List games which the vehicle is based in.<br>
  +
<nowiki>}}</nowiki></code>
 
[[Category:Templates]][[category:infoboxes]]</noinclude>

Revision as of 22:05, 12 August 2014

Infobox vehicle

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_class = Vehicle class (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 GTA IV, although a handful of examples out the game exist.
| price = The amount of money required to buy this car in 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 games which the vehicle is based in.
}}