No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="infobox" cellspacing="5" style="width: 25em; font-size: 90%; text-align: left; float: right; clear: right; margin: 0 0 1em 1em; {{#if:{{{bg_color|}}}|color:#{{PaletteText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{Palette|{{{bg_color|}}}}}|{{Palette|Stone}}}};" | |||
! colspan="2" style="text-align: center; font-size: 160%; padding-top: 14px; padding-bottom: 14px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" " | {{{name|{{PAGENAME}}}}} | |||
|- | |||
! colspan="2" style="font-size: 160%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | {{#if:{{{type|}}}|{{{type}}}|Vehicle}} | |||
|- | |||
{{#if: {{{image|}}}| | |||
{{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:{{{image}}}}}|{{{imagewidth|350}}}px]] {{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''}} | |||
{{!}}- | |||
| | |||
{{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:File:this space intentionally left blank.gif}}|350px]] {{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{type|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Vehicle type | |||
{{!}} {{{type|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{role|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Role | |||
{{!}} {{{role|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{series|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Ship series | |||
{{!}} {{{series|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{manufacturer|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Manufacturer | |||
{{!}} {{{manufacturer|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{productionstatus|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Status | |||
{{!}} {{{productionstatus|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{length|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Length | |||
{{!}} {{{length|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{beam|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Beam | |||
{{!}} {{{beam|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{height|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Height | |||
{{!}} {{{height|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{mass|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Mass | |||
{{!}} {{{mass|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{gridsize|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Grid size | |||
{{!}} {{{gridsize|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{maxspeed|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Maximum speed | |||
{{!}} {{{maxspeed|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{crew|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Crew | |||
{{!}} {{{crew|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{armaments|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Armaments | |||
{{!}} {{{armaments|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{designer|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Designer | |||
{{!}} {{{designer|}}} | |||
{{!}}- | |||
}} | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Color Preview | |||
{{!}}<p style="color:#{{{hexcolor|}}}; background-color:#ffffff; text-align: center"> '''Light''' Mode </p> | |||
<p style="color:#{{{hexcolor|}}}; background-color:#191b21; text-align: center"> '''Dark''' Mode </p> | |||
{{!}}- | |||
|} | |||
<noinclude> | |||
== Usage == | == Usage == | ||
<div style="width: 40%;"><pre> | <div style="width: 40%;"><pre> | ||
Revision as of 01:11, 6 March 2024
| Vehicle | |
|---|---|
| Vehicle | |
| |
| Color Preview | Light Mode Dark Mode |
Usage
{{Vehicle
| bg_color =
| name =
| image =
| caption =
| type =
| role =
| series =
| manufacturer =
| status =
| length =
| beam =
| height =
| mass =
| gridsize =
| maxspeed =
| crew =
| armaments =
| designer =
}}
The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| bg_color | bg_color | no description | String | suggested |
| Name | name | The name of the ship/vehicle
| String | required |
| image | image | no description | Unknown | optional |
| imagewidth | imagewidth | no description | Unknown | optional |
| caption | caption | no description | Unknown | optional |
| Type | type | The type of ship/vehicle it is
| String | suggested |
| Role | role | The role of the ship/vehicle
| String | suggested |
| Ship/vehicle series | series | The ship/vehicle series that this ship/vehicle belongs to
| String | optional |
| Manufacturer | manufacturer | The manufacturer who made the ship/vehicle
| String | optional |
| Status | productionstatus | The status of the ship/vehicle or its production status
| String | optional |
| Length (m) | length | The length of the ship/vehicle in meters | Number | optional |
| Beam (m) | beam Width | The width of the ship/vehicle in meters | Number | optional |
| Height (m) | height | The height of the ship/vehicle in meters | Number | optional |
| Mass (kg) | mass (kilos) | The raw mass of the ship in kilograms | Number | optional |
| Mass (t) | mass (tons) | The raw mass of the ship in metric tons | Number | optional |
| Grid size | gridsize | The grid size of the ship/vehicle
| String | suggested |
| Maximum speed (m/s) | maxspeed | The maximum speed of the ship/vehicle in meters/second | Number | optional |
| Crew | crew | The number of crew members the ship/vehicle can support | Number | optional |
| Armaments | armaments | The weapons installed on the ship/vehicle | String | optional |
| Designer | designer | The person who designed/built the ship/vehicle
| String | suggested |
| hexcolor | hexcolor | no description | String | optional |
