Template:Infobox vehicle: Difference between revisions

From PZwiki
m (increased width)
m (Automated Formatting)
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<noinclude>{{Documentation/sandbox|doc=
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
Infobox used for [[vehicles]].
| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{{name|{{PAGENAME}}}}}</span></div>
| image      = {{#if: {{{image|}}}|[[File:{{{image}}}|{{{image_size|image_width|294px}}}|link={{filepath:{{{image}}}}}]]}}


| caption    = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}
==Usage==
Copy and paste the below into an article, filling in the blanks.
{{Infobox vehicle
|name=name
|image=Image.png
|image2=Image.png
|image3=Image.png
|image4=Image.png
|image5=Image.png
|image_name=image_name
|image_name2=image_name2
|image_name3=image_name3
|image_name4=image_name4
|image_name5=image_name5
|image_caption=image_caption
|manufacturer=manufacturer
|vehicle_type=vehicle_type
|weight=weight
|engine_power=engine_power
|engine_loudness=engine_loudness
|seats=seats
|doors=doors
|trunk_storage=trunk_storage
|glove_box=glove_box
|service=service
|style=style
|colors=colors
|model=model
|vehicle_id=vehicle_id
}}
<syntaxhighlight lang="html">
{{Infobox vehicle
|name=
|image=
|image2=
|image3=
|image4=
|image5=
|image_name=
|image_name2=
|image_name3=
|image_name4=
|image_name5=
|image_caption=
<!--GENERAL-->
|manufacturer=
|vehicle_type=
|weight=
|engine_power=
|engine_loudness=
<!--BODY-->
|seats=
|doors=
|trunk_storage=
|glove_box =
<!--VARIANTS-->
|service=
|style=
|color =
<!--TECHNICAL-->
|model=
|vehicle_id =
}}
</syntaxhighlight>
{{clear}}


| headerstyle = background-color: #{{Infobox nc|{{{name_colour|}}}}}; color: #{{Infobox nc|{{{name_text_colour|}}}|text}};
==Parameters==
| labelstyle = background-color:#eee; width:50%;
===Name and image===
| datastyle  = width:50%;
;<code>name</code>
:Name of the vehicle. Defaults to the page title
;<code>image</code>
:Image to be displayed. For multiple images, add an id to the parameter, from 2 to 5, e.g., <code>image2</code>. If there are at least 2 images, an icon will be displayed (or defined with <code>icon</code>). When clicked, the image with the same id will be displayed.
;<code>image_name</code>
:Text to display when hovering over the image. Text will be shown for the image with the same id, e.g., <code>image_name2</code> for <code>image2</code>.
;<code>image_width</code>
:Width of the image. The maximum image size is 200px. Will change the width of the image with the same id, e.g., <code>image_width2</code> for <code>image2</code>.
;<code>image_caption</code>
:Caption to be displayed beneath the image.
;<code>icon</code>
:Icon for the image. For multiple icons, add an id to the parameter, from 2 to 5, e.g., <code>icon2</code>. Clicking the icon will display the image with the same id.
;<code>icon_name</code>
:Text to display when hovering over the icon. Text will be shown for the icon with the same id, e.g., <code>icon_name2</code> for <code>icon2</code>.


| header1    = {{#if:{{{manufacturer|}}}{{{vehicle_type|{{{type|}}}}}}{{{weight|}}}{{{engine_power|{{{power|}}}}}}{{{engine_loudness|{{{loudness|}}}}}}|General}}
===General===
;<code>manufacturer</code>
:Vehicle manufacturer. Include a link if a page exists, e.g., {{code|[[Chevalier]]}}.
;<code>vehicle_type</code>
:Type of the vehicle, e.g., "Standard", "Commercial", "Performance". This will automatically link to [[Vehicles#Types]].
;<code>weight</code>
:Weight of the vehicle. <code>mass</code> attribute found in the vehicle script file (media\scripts\vehicle_...).
;<code>engine_power</code>
:Power of the engine. <code>engineForce</code> attribute found in the vehicle script file (media\scripts\vehicle_...).
;<code>engine_loudness</code>
:Loudness of the engine. <code>engineLoudness</code> attribute found in the vehicle script file (media\scripts\vehicle_...).


| label2    = Manufacturer
===Body===
| data2      = {{{manufacturer|}}}
;<code>seats</code>
:Number of seats in the vehicle. <code>seats</code> attribute found in the vehicle script file (media\scripts\vehicle_...).
;<code>doors</code>
:Number of doors in the vehicle.
;<code>trunk_storage</code>
:Encumbrance capacity of the trunk. <code>TruckBed</code> > <code>container</code> > <code>capacity</code> attribute found in the vehicle script file (media\scripts\vehicle_...).
;<code>glove_box</code>
:Encumbrance capacity of the glove box. <code>GloveBox</code> > <code>container</code> > <code>capacity</code> attribute found in the vehicle script file (media\scripts\vehicle_...).


| label3    = Vehicle type
===Variants===
| data3      = {{#if:{{{vehicle_type|{{{type|}}}}}}|[[Vehicles Guide#Types|{{{vehicle_type|{{{type|}}}}}}]]}}
;<code>service</code>
:Service variant of the vehicle. E.g., Police, Ambulance, Postal.
;<code>style</code>
:Style variant of the vehicle. E.g., Wood Siding.
;<code>color</code>
:Color variant of the vehicle. E.g., Yellow, Green. Only include if there are unique color variants, e.g., taxi.


| label4    = Weight
===Technical===
| data4      = {{#if:{{{weight|}}}|{{abbr|{{{weight|}}}|This value can vary depending on the contents, installed parts and variants.}}}}
;<code>model</code>
:Model used for the vehicle. <code>vehicle</code> > <code>model</code> > <code>file</code> attribute found in the vehicle script file (media\scripts\vehicle_...).
;<code>vehicle_id</code>
:The ID of the vehicle. The format is <code>[module].[vehicle]</code>. This can be found in-game with debug in the vehicle list. Otherwise, in the vehicle scripts where <code>[module]</code> is the name of the module block (usually <code>Base</code>), and <code>[vehicle]</code> is the vehicle block. <br>Multiple vehicle IDs can be set by either: separating with {{code|<br>}} or adding a 'suffix id' to the end (up to 10), e.g., <code>vehicle_id2</code>.
;<code>vehicle_id_more</code>
:Adds a "See all" link, linking to the section named in the parameter. E.g., {{code|vehicle_id_more{{=}}Vehicle IDs}} will link to a section called "Vehicle IDs". This is useful for multiple IDs, or where more information is required to distinguish between each ID, as the ID itself is generally not very descriptive.


| label5    = Engine power
==Example==
| data5      = {{#if:{{{engine_power|{{{power|}}}}}}|{{abbr|{{{engine_power|{{{power|}}}}}} hp|This value can vary depending on the engine condition and variants.}}}}
{{Infobox vehicle
|name=Chevalier Cerise Wagon
|image=Base.CarStationWagon.png
|image2=Chevalier Cerise Wagon.png
|image_name2=Chevalier Cerise Wagon (Wood Siding)
<!--GENERAL-->
|manufacturer=[[Chevalier]]
|vehicle_type=Standard
|weight=900
|engine_power=4200
|engine_loudness=80
<!--BODY-->
|seats=4
|doors=4
|trunk_storage=60
|glove_box=5
|style=Wood Siding
<!--TECHNICAL-->
|model=Vehicles_CarStationWagon
|vehicle_id=Base.CarStationWagon<br>Base.CarStationWagon2
}}
This example is the [[Chevalier Cerise Wagon]].
<syntaxhighlight lang="html">
{{Infobox vehicle
|name=Chevalier Cerise Wagon
|image=Base.CarStationWagon.png
|image2=Chevalier Cerise Wagon.png
|image_name2=Chevalier Cerise Wagon (Wood Siding)
<!--GENERAL-->
|manufacturer=[[Chevalier]]
|vehicle_type=Standard
|weight=900
|engine_power=4200
|engine_loudness=80
<!--BODY-->
|seats=4
|doors=4
|trunk_storage=60
|glove_box=5
|style=Wood Siding
<!--TECHNICAL-->
|model=Vehicles_CarStationWagon
|vehicle_id=Base.CarStationWagon<br>Base.CarStationWagon2
}}
</syntaxhighlight>
{{clear}}


| label6    = Engine loudness
{{Translation guide|<syntaxhighlight lang="html">
| data6      = {{#if:{{{engine_loudness|{{{loudness|}}}}}}|{{abbr|{{{engine_loudness|{{{loudness|}}}}}}|This value can vary depending on the engine condition and variants.}}}}
{{#switch: {{{1|}}}
<!--GENERAL-->
| general = General
| manufacturer = Manufacturer
| vehicle_type = Vehicle type
| types = Types <!-- this should be the same as the section title on the Vehicles page -->
| weight = Weight
| weight_desc = Dependent on the contents, parts, and variant
| engine_power = Engine power
| condition_desc = Dependent on the condition
| engine_loudness = Engine loudness
<!--BODY-->
| body = Body
| seats = Seats
| variant_desc = Dependent on the variant
| doors = Doors
| trunk = Trunk storage
| trunk_tooltip = Maximum encumbrance stored in the trunk
| trunk_desc = Dependent on the part, condition, and variant
| glove_box = Glove box
| glove_box_tooltip = Maximum encumbrance stored in the glove box
<!--VARIANTS-->
| variants = Variants
| service = Service
| style = Style
| available_colors = Available colors
<!--TECHNICAL-->
| technical = Technical
| model = Model
| vehicle_id = Vehicle ID
| see_all = See all
| #default = {{Error|translation}}
}}
</syntaxhighlight>}}


| header7    = {{#if:{{{seats|}}}{{{doors|}}}{{{trunk_storage|}}}|Body}}
==See also==
*{{ll|Template:Infobox item}}
*{{ll|Template:Infobox location}}
*{{ll|Template:Infobox region}}
*{{ll|Template:Infobox tile}}


| label9     = Seats
}}
| data9      = {{#if:{{{seats|}}}|{{abbr|{{{seats|}}}|This value can vary depending on the variant.}}}}
{{ll|Category:Infobox}}
 
</noinclude><includeonly>{{Infobox/sandbox
| label10    = Doors
  | title = {{{name|{{#getdisplaytitle:{{FULLPAGENAME}}}}}}}
| data10    = {{#if:{{{doors|}}}|{{abbr|{{{doors|}}}|This value can vary depending on the variant.}}}}
  | color = var(--color-red)
 
  | {{Infobox/image
| label11    = Trunk storage
    | 1 = {{#if:{{{icon|}}}{{{image2|}}}|[[File:{{{icon|{{{image}}}}}}|{{{icon_name|{{{image_name|{{{name|}}}}}}}}}|link=]]}}
| data11    = {{#if:{{{trunk_storage|{{{trunk|}}}}}}|{{abbr|{{{trunk_storage|{{{trunk|}}}}}}|This value can vary depending on the trunk condition.}}}}
    | 2 = {{#if:{{{icon2|}}}{{{image2|}}}|[[File:{{{icon2|{{{image2}}}}}}|{{{icon_name2|{{{image_name2|{{{name|}}}}}}}}}|link=]]}}
 
    | 3 = {{#if:{{{icon3|}}}{{{image3|}}}|[[File:{{{icon3|{{{image3}}}}}}|{{{icon_name3|{{{image_name3|{{{name|}}}}}}}}}|link=]]}}
| header12   = {{#if:{{{service|}}}{{{style|}}}{{{colors|}}}|Variants}}
    | 4 = {{#if:{{{icon4|}}}{{{image4|}}}|[[File:{{{icon4|{{{image4}}}}}}|{{{icon_name4|{{{image_name4|{{{name|}}}}}}}}}|link=]]}}
 
    | 5 = {{#if:{{{icon5|}}}{{{image5|}}}|[[File:{{{icon5|{{{image5}}}}}}|{{{icon_name5|{{{image_name5|{{{name|}}}}}}}}}|link=]]}}
| label13    = Service
    | p1 = {{#if:{{{image|}}}{{{icon}}}|[[File:{{{image|{{{icon}}}}}}|{{{image_name|{{{icon_name|{{{name|}}}}}}}}}|{{{model_width|200px}}}]]}}
| data13    = {{{service|}}}
    | p2 = {{#if:{{{image2|}}}{{{icon2}}}|[[File:{{{image2|{{{icon2}}}}}}|{{{image_name2|{{{icon_name2|{{{name|}}}}}}}}}|{{{image_width2|200px}}}]]}}
 
    | p3 = {{#if:{{{image3|}}}{{{icon3}}}|[[File:{{{image3|{{{icon3}}}}}}|{{{image_name3|{{{icon_name3|{{{name|}}}}}}}}}|{{{image_width3|200px}}}]]}}
| label14    = Style
    | p4 = {{#if:{{{image4|}}}{{{icon4}}}|[[File:{{{image4|{{{icon4}}}}}}|{{{image_name4|{{{icon_name4|{{{name|}}}}}}}}}|{{{image_width4|200px}}}]]}}
| data14    = {{{style|}}}
    | p5 = {{#if:{{{image5|}}}{{{icon5}}}|[[File:{{{image5|{{{icon5}}}}}}|{{{image_name5|{{{icon_name5|{{{name|}}}}}}}}}|{{{image_width5|200px}}}]]}}
 
    | caption = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}
| label15    = Available colours
  }}{{#if:{{{manufacturer|}}}{{{vehicle_type|}}}{{{type|}}}{{{weight|}}}{{{engine_power|}}}{{{power|}}}{{{engine_loudness|}}}{{{loudness|}}}
| data15    = {{{colors|}}}
  |{{Infobox/section
 
     | {{tt|name=Infobox vehicle|default=General|arg1=general}}
| header16   = {{#if:{{{model|}}}{{{class_name|}}}|Technical details}}
    | color = var(--color-red)
 
    | id = item-general
| label17    = Model
    | {{Infobox/sandbox/row
| data17     = {{{model|}}}
      |{{tt|name=Infobox vehicle|default=Manufacturer|arg1=manufacturer}}
 
      |{{{manufacturer|}}}
| label32    = Base ID
    }}{{Infobox/sandbox/row
| data32    = {{#if:{{{no_style|false|}}}|{{ID|{{{class_name|[[#Item IDs|Item IDs]]}}}}}|{{{class_name|[[#Vehicle IDs|Vehicle IDs]]}}}}}
      |{{tt|name=Infobox vehicle|default=Vehicle type|arg1=vehicle_type}}
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>
      |{{#if:{{{vehicle_type|{{{type|}}}}}}|{{ll|Vehicles|{{{vehicle_type|{{{type|}}}}}}|#={{tt|name=Infobox vehicle|default=Types|arg1=types}}}}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Weight|arg1=weight}}
      |{{#if:{{{weight|}}}|{{tooltip|{{{weight|}}}|{{tt|name=Infobox vehicle|default=Dependent on the contents, parts, and variant|arg1=weight_desc}}}}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Engine power|arg1=engine_power}}
      |{{#if:{{{engine_power|{{{power|}}}}}}|{{tooltip|{{{engine_power|{{{power|}}}}}}|{{tt|name=Infobox vehicle|default=Dependent on the condition|arg1=condition_desc}}}}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Engine loudness|arg1=engine_loudness}}
      |{{#if:{{{engine_loudness|{{{loudness|}}}}}}|{{tooltip|{{{engine_loudness|{{{loudness|}}}}}}|{{tt|name=Infobox vehicle|default=Dependent on the condition|arg1=condition_desc}}}}}}
    }}
  }}}}{{#if:{{{seats|}}}{{{doors|}}}{{{trunk_storage|}}}{{{trunk|}}}{{{glove_box|}}}{{{glove|}}}
  |{{Infobox/section
    | {{tt|name=Infobox vehicle|default=Body|arg1=body}}
    | color = var(--color-red)
    | id = item-body
    | {{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Seats|arg1=seats}}
      |{{#if:{{{seats|}}}|{{tooltip|{{{seats|}}}|{{tt|name=Infobox vehicle|default=Dependent on the variant|arg1=variant_desc}}}}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Doors|arg1=doors}}
      |{{#if:{{{doors|}}}|{{tooltip|{{{doors|}}}|{{tt|name=Infobox vehicle|default=Dependent on the variant|arg1=variant_desc}}}}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Trunk|arg1=trunk}}
      |tooltip={{tt|name=Infobox vehicle|default=Maximum encumbrance stored in the trunk|arg1=trunk_tooltip}}
      |{{#if:{{{trunk_storage|{{{trunk|}}}}}}|{{tooltip|{{{trunk_storage|{{{trunk|}}}}}}|{{tt|name=Infobox vehicle|default=Dependent on the part, condition, and variant|arg1=trunk_desc}}}}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Glove box|arg1=glove_box}}
      |tooltip={{tt|name=Infobox vehicle|default=Maximum encumbrance stored in the glove box|arg1=glove_box_tooltip}}
      |{{#if:{{{glove_box|{{{glove|}}}}}}|{{tooltip|{{{glove_box|{{{glove|}}}}}}|{{tt|name=Infobox vehicle|default=Dependent on the condition|arg1=condition_desc}}}}}}
    }}
   }}}}{{#if:{{{service|}}}{{{style|}}}{{{colors|}}}
  |{{Infobox/section
    | {{tt|name=Infobox vehicle|default=Variants|arg1=variants}}
    | color = var(--color-red)
    | id = item-variants
    | {{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Service|arg1=service}}
      |{{{service|}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Style|arg1=style}}
      |{{{style|}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Available colors|arg1=available_colors}}
      |{{{colors|}}}
    }}
   }}}}{{#if:{{{model|}}}{{{vehicle_id|}}}
  |{{Infobox/section
    | {{tt|name=Infobox vehicle|default=Technical|arg1=technical}}
    | color = var(--color-red)
    | id = item-technical
    | collapsed = true
     | {{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Model|arg1=model}}
      |{{#if:{{{model|}}}|{{ID|{{{model}}}}}}}
    }}{{Infobox/sandbox/row
      |{{tt|name=Infobox vehicle|default=Vehicle ID|arg1=vehicle_id}}
      |{{#if:{{{vehicle_id|{{{class_name|}}}}}}
        |{{ID
          |{{{vehicle_id|{{{class_name}}}}}} {{#if:{{{vehicle_id2|}}}
            |<br>{{{vehicle_id2|}}}}} {{#if:{{{vehicle_id3|}}}
            |<br>{{{vehicle_id3|}}}}} {{#if:{{{vehicle_id4|}}}
            |<br>{{{vehicle_id4|}}}}} {{#if:{{{vehicle_id5|}}}
            |<br>{{{vehicle_id5|}}}}} {{#if:{{{vehicle_id6|}}}
            |<br>{{{vehicle_id6|}}}}} {{#if:{{{vehicle_id7|}}}
            |<br>{{{vehicle_id7|}}}}} {{#if:{{{vehicle_id8|}}}
            |<br>{{{vehicle_id8|}}}}} {{#if:{{{vehicle_id9|}}}
            |<br>{{{vehicle_id9|}}}}} {{#if:{{{vehicle_id10|}}}
            |<br>{{{vehicle_id10|}}}}}
        }}{{#if:{{{vehicle_id_more|}}}|<br><small title="{{{vehicle_id_more}}}">[[#{{{vehicle_id_more}}}|[{{tt|name=Infobox vehicle|default=See all|arg1=see_all}}]]]</small>}}
      }}
    }}
  }}}}
}}</includeonly>

Latest revision as of 14:16, 14 April 2024

Notebook.pngTemplate Documentation

Infobox used for vehicles.

Usage

Copy and paste the below into an article, filling in the blanks.

name
image_name
image_name2
image_name3
image_name4
image_name5
image_caption
General
Manufacturer
manufacturer
Vehicle type
Weight
weight
Engine power
engine_power
Engine loudness
engine_loudness
Body
Seats
seats
Doors
doors
Trunk
trunk_storage
Glove box
glove_box
Variants
Service
service
Style
style
Available colors
colors
Technical
Model
model
Vehicle ID
vehicle_id
{{Infobox vehicle
|name=
|image=
|image2=
|image3=
|image4=
|image5=
|image_name=
|image_name2=
|image_name3=
|image_name4=
|image_name5=
|image_caption=
<!--GENERAL-->
|manufacturer=
|vehicle_type=
|weight=
|engine_power=
|engine_loudness=
<!--BODY-->
|seats=
|doors=
|trunk_storage=
|glove_box =
<!--VARIANTS-->
|service=
|style=
|color =
<!--TECHNICAL-->
|model=
|vehicle_id =
}}

Parameters

Name and image

name
Name of the vehicle. Defaults to the page title
image
Image to be displayed. For multiple images, add an id to the parameter, from 2 to 5, e.g., image2. If there are at least 2 images, an icon will be displayed (or defined with icon). When clicked, the image with the same id will be displayed.
image_name
Text to display when hovering over the image. Text will be shown for the image with the same id, e.g., image_name2 for image2.
image_width
Width of the image. The maximum image size is 200px. Will change the width of the image with the same id, e.g., image_width2 for image2.
image_caption
Caption to be displayed beneath the image.
icon
Icon for the image. For multiple icons, add an id to the parameter, from 2 to 5, e.g., icon2. Clicking the icon will display the image with the same id.
icon_name
Text to display when hovering over the icon. Text will be shown for the icon with the same id, e.g., icon_name2 for icon2.

General

manufacturer
Vehicle manufacturer. Include a link if a page exists, e.g., [[Chevalier]].
vehicle_type
Type of the vehicle, e.g., "Standard", "Commercial", "Performance". This will automatically link to Vehicles.
weight
Weight of the vehicle. mass attribute found in the vehicle script file (media\scripts\vehicle_...).
engine_power
Power of the engine. engineForce attribute found in the vehicle script file (media\scripts\vehicle_...).
engine_loudness
Loudness of the engine. engineLoudness attribute found in the vehicle script file (media\scripts\vehicle_...).

Body

seats
Number of seats in the vehicle. seats attribute found in the vehicle script file (media\scripts\vehicle_...).
doors
Number of doors in the vehicle.
trunk_storage
Encumbrance capacity of the trunk. TruckBed > container > capacity attribute found in the vehicle script file (media\scripts\vehicle_...).
glove_box
Encumbrance capacity of the glove box. GloveBox > container > capacity attribute found in the vehicle script file (media\scripts\vehicle_...).

Variants

service
Service variant of the vehicle. E.g., Police, Ambulance, Postal.
style
Style variant of the vehicle. E.g., Wood Siding.
color
Color variant of the vehicle. E.g., Yellow, Green. Only include if there are unique color variants, e.g., taxi.

Technical

model
Model used for the vehicle. vehicle > model > file attribute found in the vehicle script file (media\scripts\vehicle_...).
vehicle_id
The ID of the vehicle. The format is [module].[vehicle]. This can be found in-game with debug in the vehicle list. Otherwise, in the vehicle scripts where [module] is the name of the module block (usually Base), and [vehicle] is the vehicle block.
Multiple vehicle IDs can be set by either: separating with <br> or adding a 'suffix id' to the end (up to 10), e.g., vehicle_id2.
vehicle_id_more
Adds a "See all" link, linking to the section named in the parameter. E.g., vehicle_id_more=Vehicle IDs will link to a section called "Vehicle IDs". This is useful for multiple IDs, or where more information is required to distinguish between each ID, as the ID itself is generally not very descriptive.

Example

Chevalier Cerise Wagon
Chevalier Cerise Wagon
Chevalier Cerise Wagon (Wood Siding)
[[File:{{{icon3}}}|Chevalier Cerise Wagon|200px]]
[[File:{{{icon4}}}|Chevalier Cerise Wagon|200px]]
[[File:{{{icon5}}}|Chevalier Cerise Wagon|200px]]
General
Manufacturer
Vehicle type
Weight
900
Engine power
4200
Engine loudness
80
Body
Seats
4
Doors
4
Trunk
60
Glove box
5
Variants
Style
Wood Siding
Technical
Model
Vehicles_CarStationWagon
Vehicle ID
Base.CarStationWagon
Base.CarStationWagon2

This example is the Chevalier Cerise Wagon.

{{Infobox vehicle
|name=Chevalier Cerise Wagon
|image=Base.CarStationWagon.png
|image2=Chevalier Cerise Wagon.png
|image_name2=Chevalier Cerise Wagon (Wood Siding)
<!--GENERAL-->
|manufacturer=[[Chevalier]]
|vehicle_type=Standard
|weight=900
|engine_power=4200
|engine_loudness=80
<!--BODY-->
|seats=4
|doors=4
|trunk_storage=60
|glove_box=5
|style=Wood Siding
<!--TECHNICAL-->
|model=Vehicles_CarStationWagon
|vehicle_id=Base.CarStationWagon<br>Base.CarStationWagon2
}}

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
<!--GENERAL-->
| general = General
| manufacturer = Manufacturer
| vehicle_type = Vehicle type
| types = Types <!-- this should be the same as the section title on the Vehicles page -->
| weight = Weight
| weight_desc = Dependent on the contents, parts, and variant
| engine_power = Engine power
| condition_desc = Dependent on the condition
| engine_loudness = Engine loudness
<!--BODY-->
| body = Body
| seats = Seats
| variant_desc = Dependent on the variant
| doors = Doors
| trunk = Trunk storage
| trunk_tooltip = Maximum encumbrance stored in the trunk
| trunk_desc = Dependent on the part, condition, and variant
| glove_box = Glove box
| glove_box_tooltip = Maximum encumbrance stored in the glove box
<!--VARIANTS-->
| variants = Variants
| service = Service
| style = Style
| available_colors = Available colors
<!--TECHNICAL-->
| technical = Technical
| model = Model
| vehicle_id = Vehicle ID
| see_all = See all
| #default = {{Error|translation}}
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.