Wikia

GTA Wiki

Changes: Template:Infobox vehicles

Edit

Back to page

(Moved manufacturer lower. Trivia bit that is still mostly irrelevant outside GTA4.)
 
(75 intermediate revisions by 8 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="background: #555555; border: solid white 2px; width: 23em; text-align: left; font-size: 89%;"
!colspan="2" style="background: #FFFFFF; color: #000000;"|<center>'''{{{name}}}'''</center>
+
!colspan="2" style="background: #3c3c3c; color: white; text-align: center;"|<small>VEHICLE</small><br /><span class="fn" style="font-size:18px;">'''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
| colspan="2" style="background: #FFFFFF; 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:{{{front_image|}}}|{{!}} colspan="2" class="fullwidth" style="background: #000000; color:lightgray;" {{!}}[[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|}}}|&#59; {{{rear_image_add_caption|}}}|}}]]</small>)|}}</center>}}
}}
+
|-
  +
{{#if:{{{front_image2|}}}|{{!}} colspan="2" class="fullwidth" style="background: #000000; color:lightgray;" {{!}}[[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|}}}|&#59; {{{rear_image_add_caption2|}}}|}}]]</small>)|}}</center>}}
  +
|-
  +
{{#if:{{{front_image3|}}}|{{!}} colspan="2" class="fullwidth" style="background: #000000; color:lightgray;" {{!}}[[File:{{{front_image3}}}|{{#if:{{{image_size3|}}}|{{{image_size3|}}}|250}}px|center|link=File:{{{front_image3}}}]]<center>{{{caption3}}}{{#if:{{{rear_image3|}}}|<br />(<small>[[:File:{{{rear_image3}}}|Rear quarter view{{#if:{{{rear_image_add_caption3|}}}|&#59; {{{rear_image_add_caption3|}}}|}}]]</small>)|}}</center>}}
 
{{#if:{{{aka|}}}|
 
{{#if:{{{aka|}}}|
 
{{pipe}}-<!-- Representing "|-" -->
 
{{pipe}}-<!-- Representing "|-" -->
!width="10%" style="text-align:center;"{{pipe}}'''Also known as'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Also known as'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{aka|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{aka|}}}|
  +
{{pipe}}-
  +
|
  +
}}
  +
{{#if:{{{vehicle_class|}}}|
  +
{{pipe}}-
  +
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Vehicle class<br>([[Grand Theft Auto V|GTA V]])'''
  +
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{vehicle_class|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
Line 13: Line 13:
 
{{#if:{{{vehicle_type|}}}|
 
{{#if:{{{vehicle_type|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="text-align:center;"{{pipe}}'''Vehicle type'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Vehicle type'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{vehicle_type|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{vehicle_type|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
Line 20: Line 20:
 
{{#if:{{{body_style|}}}|
 
{{#if:{{{body_style|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="text-align:center;"{{pipe}}'''Body style'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Body style'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{body_style|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{body_style|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
Line 27: Line 27:
 
{{#if:{{{capacity|}}}|
 
{{#if:{{{capacity|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="text-align:center;"{{pipe}}'''Capacity'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Capacity'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{capacity|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{capacity|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
Line 34: Line 34:
 
{{#if:{{{appearances|}}}|
 
{{#if:{{{appearances|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="text-align:center;"{{pipe}}'''Appearance(s)'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Appearance(s)'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{appearances|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{appearances|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
Line 41: Line 41:
 
{{#if:{{{manufacturer|}}}|
 
{{#if:{{{manufacturer|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="text-align:center;"{{pipe}}'''Manufacturer'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Manufacturer'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{manufacturer|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{manufacturer|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
 
}}
 
}}
{{#if:{{{getting_it|}}}|
+
{{#if:{{{price|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="text-align:center;"{{pipe}}'''How/Where to get it'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Price'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{getting_it|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{price|}}}|
  +
{{pipe}}-
  +
|
  +
}}
  +
{{#if:{{{variants|}}}|
  +
{{pipe}}-
  +
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Variant(s)'''
  +
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{variants|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
Line 55: Line 55:
 
{{#if:{{{related|}}}|
 
{{#if:{{{related|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="text-align:center;"{{pipe}}'''Related vehicle(s)'''
+
!width="10%" style="background: #000000; text-align:center; color:lightgray;"{{pipe}}'''Related vehicle(s)'''
{{pipe}}width="20%" style="text-align:left;"{{pipe}}{{{related|}}}|
+
{{pipe}}width="20%" style="background: #656565; text-align:left; color: white;"{{pipe}}{{{related|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
|
 
|
 
}}
 
}}
|}<noinclude>
+
|}
The following code will display the infobox illustrated to the right. The list of available inputs are provided below:
+
  +
<noinclude>
  +
<small>To see changes, {{Purge}} the page.</small>
  +
  +
The following code will display the infobox example illustrated to the right. The list of available inputs are provided below.<br>Note: Additional images on the infobox are only to be used if a model is a lot different. Minor changes such as extras (lightbars, roof, exhausts, hoods, wheels, etc.) and colors are not supposed to be added and will be removed from the page.
  +
{{Infobox vehicles
  +
| name = Vehicle Name
  +
| front_image = Mesa-GTAV-Front.png
  +
| rear_image = Mesa-GTAV-Rear.png
  +
| image_size = 300
  +
| caption = Caption for the first image.
  +
| rear_image_add_caption = Example caption addition for the rear quarter view.
  +
| front_image2 = VapidTheLiberator-GTAV-Front.png
  +
| rear_image2 = VapidTheLiberator-GTAV-Rear.png
  +
| image_size2 = 300
  +
| caption2 = Caption for the second image.
  +
| aka = Names commonly used to refer to these vehicles - or alternate names.
  +
| vehicle_class = Vehicle Class - for use with GTA V vehicles only!
  +
| vehicle_type = Type of the vehicle (i.e. Civilian, [[:Category:Military|law enforcement]], [[:Category:Military|military]], [[:Category:Sports Cars|sports car]], [[:Category:Bikes|bicycle/motorcycle]], [[:Category:Boats|boat]], etc).
  +
| body_style = Body Style of the vehicle.
  +
| capacity = Capactiy.
  +
| manufacturer = Manufacturer.
  +
| price = Price.
  +
| appearances = Game appearances.
  +
| related = Related vehicles.
  +
| variants = Variants of the Vehicle.
  +
}}
   
<code><nowiki>{{Infobox vehicles</nowiki><br>
+
<code>{{Infobox vehicles<br>
 
| name = Name of vehicle.<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>
 
| front_image = Filename of lead image, or image illustrating the front quarter view of a vehicle (i.e. "Imagename.jpg").<br>
  +
| 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.<br>
 
| image_size = Image size in pixels. Insert number only. The default width is 300 pixels.<br>
  +
| image_size2 = Image size for the second image.
 
| caption = Caption for lead image.<br>
 
| caption = Caption for lead image.<br>
  +
| caption2 = Caption for the second image.
 
| rear_image = Filename of alternate image, usually a rear quarter image.<br>
 
| rear_image = Filename of alternate image, usually a rear quarter image.<br>
| vehicle_type = Vehicle class (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>
+
| rear_image2 = Rear image for the second image.
| body_style = Vehicle class 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>
+
| 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 [[Grand Theft Auto V|GTA V]] (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>
 
| 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>
+
| manufacturer = Manufacturer of the vehicle. Usually applicable for vehicles in [[HD Universe]], although a handful of examples out the game exist.<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 />
+
| price = The amount of money required to buy the vehicle in GTA San Andreas, GTA Chinatown Wars, GTA V and [[Grand Theft Auto Online|GTA Online]].<br>
| appearances = List games which the vehicle is based in.<br>
+
| appearances = List of games which the vehicle appear in.<br>
<nowiki>}}</nowiki></code>
+
| related = What vehicles that is related to.<br>
  +
| variants = Modified or similar versions of the vehicle.
  +
}}</code>
 
[[Category:Templates]][[category:infoboxes]]</noinclude>
 
[[Category:Templates]][[category:infoboxes]]</noinclude>

Latest revision as of 06:28, December 12, 2014

VEHICLE
Infobox vehicles


To see changes, purge the page.

The following code will display the infobox example illustrated to the right. The list of available inputs are provided below.
Note: Additional images on the infobox are only to be used if a model is a lot different. Minor changes such as extras (lightbars, roof, exhausts, hoods, wheels, etc.) and colors are not supposed to be added and will be removed from the page.

VEHICLE
Vehicle Name
Mesa-GTAV-Front
Caption for the first image.
(Rear quarter view; Example caption addition for the rear quarter view.)
VapidTheLiberator-GTAV-Front
Caption for the second image.
(Rear quarter view)
Also known as Names commonly used to refer to these vehicles - or alternate names.
Vehicle class
(GTA V)
Vehicle Class - for use with GTA V vehicles only!
Vehicle type Type of the vehicle (i.e. Civilian, law enforcement, military, sports car, bicycle/motorcycle, boat, etc).
Body style Body Style of the vehicle.
Capacity Capactiy.
Appearance(s) Game appearances.
Manufacturer Manufacturer.
Price Price.
Variant(s) Variants of the Vehicle.
Related vehicle(s) Related 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 San Andreas, GTA Chinatown Wars, GTA V and GTA Online.
| appearances = List of games which the vehicle appear in.
| related = What vehicles that is related to.
| variants = Modified or similar versions of the vehicle. }}

Around Wikia's network

Random Wiki