Template:Infobox vehicle: Difference between revisions

m (Gboyers moved page Template:Infobox vehicles to Template:Infobox vehicle: Infoboxes should be singular)
(+{{doc}} +includeonly)
Line 1: Line 1:
{|class="infobox bordered vcard" style="width: 23em; text-align: left; font-size: 89%;"
<includeonly>{|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: #FFFFFF; color: #000000;"|<center>'''{{{name}}}'''</center>
|-
|-
Line 62: Line 62:
|
|
}}
}}
|}<noinclude>
|}</includeonly><noinclude>{{doc}}[[Category:Infobox Templates]]</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_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>
| 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>
| 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>
| 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:Infobox Templates]]</noinclude>

Revision as of 02:15, 26 September 2011

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
}}