Template:Infobox vehicle: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(41 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{infobox | |||
|name = | |||
| | |bodystyle = background-color: #F0F0FA; | ||
| | |title = Vehicle | ||
|titlestyle = font-size: 90%; | |||
text-transform: uppercase; | |||
background-color: #EEE; | |||
border: 1px solid #AAA; | |||
border-bottom: none; | |||
|above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
|abovestyle = font-size: 150%; | |||
{{#if:{{{ | |||
{{ | |||
{{ | |||
}} | |||
< | |image = {{#if:{{{front_image|}}}|[[File:{{{front_image}}}|{{#if:{{{image_size|}}}|{{{image_size|}}}px|170px}}|center|{{{caption}}}.]]}}{{#if:{{{rear_image|}}}|(<small>[[:File:{{{rear_image|}}}{{!}}Rear quarter view{{#if:{{{rear_image_add_caption|}}}|; {{{rear_image_add_caption|}}}}}]]</small>)|}}{{#if:{{{caption|}}}|{{#if:{{{rear_image|}}}|<br />|}}{{{caption|}}}.|}}[[:File:{{{front_image}}}| ]] | ||
| | |||
| | |imagestyle = {{{imagestyle|}}} | ||
| | |captionstyle = {{{captionstyle|}}} | ||
| | |||
| | |headerstyle = background:#444; color: #fff; | ||
| | |labelstyle = background:#ddd; | ||
| | |datastyle = | ||
| capacity | |||
| manufacturer | |header1 = | ||
| | |||
| | |label1 = Appearance(s) | ||
|data1 = {{gameselect|{{{game_1|}}}|{{{game_2|}}}|{{{game_3|}}}|{{{game_4|}}}|{{{game_5|}}}|{{{game_6|}}}|{{{game_7|}}}|{{{game_8|}}}|{{{game_9|}}}|{{{game_10|}}}|{{{game_11|}}}|{{{game_12|}}}|{{{game_13|}}}|{{{game_14|}}}|{{{game_15|}}}|{{{game_16|}}}|{{{game_17|}}}|{{{game_18|}}}|{{{game_19|}}}|{{{game_20|}}}}}{{#IF: {{{games|}}} |[[Category:Fix Games]] [[Appearance::{{game|{{{games|}}}}}]] }}{{#IF: {{{appearances|}}} |[[Category:Fix Games]] [[Appearance::{{game|{{{appearances|}}}}}]] }}{{#IF: {{{game_1|}}} | | [[Category:Fix Games]]}} | |||
[[Category:Infobox Templates]]</noinclude> | |||
|label2 = Also known as | |||
|data2 = {{{aka|}}} | |||
|label3 = Vehicle type | |||
|data3 = {{{vehicle_type|}}} | |||
|label4 = Body style | |||
|data4 = {{{body_style|}}} | |||
|label5 = Capacity | |||
|data5 = {{{capacity|}}} | |||
|label6 = Manufacturer | |||
|data6 = {{{manufacturer|}}} | |||
|label7 = How/Where to get it | |||
|data7 = {{{getting_it|}}} | |||
|label8 = Related vehicle(s) | |||
|data8 = {{{related|}}} | |||
}}[[Type::Vehicle| ]]</includeonly><noinclude> | |||
{{doc}} | |||
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 22:37, 22 December 2013
- 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 }}
- Vehicle types/classes include Civilian, law enforcement, military, public service; car/sports car/muscle car, truck, bus, bicycle/motorcycle, boat etc.
- Body styles are 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