No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="infobox"| {{{name|{{PAGENAME}}}}} | {| 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|Shadow}}}};" | ||
! 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|Shadow}}}};" " | {{{name|{{PAGENAME}}}}} | |||
|- | |- | ||
{{#if: {{{image1|}}}{{{image2|}}}| | |||
{{!}} align="center" colspan="2" {{!}} | |||
<tabber> | |||
{{#if: {{{image1|}}}| | |||
|-| Option 1= | |||
[[{{{image1}}}{{!}}{{{image1width|350}}}px]]<br /><small>''{{{caption1|}}}''</small> | |||
}} | |||
{{#if: {{{image2|}}}| | |||
|-| Option 2= | |||
[[{{{image2}}}{{!}}{{{image2width|350}}}px]]<br /><small>''{{{caption2|}}}''</small> | |||
}} | |||
</tabber> | |||
{{!}}- | |||
| | |||
{{!}} align="center" colspan="2" {{!}} [[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|Shadow}}}};" {{!}} 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|Shadow}}}};" {{!}} 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|Shadow}}}};" {{!}} 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|Shadow}}}};" {{!}} 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|Shadow}}}};" {{!}} 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|Shadow}}}};" {{!}} Length | |||
{{!}} {{{length|}}}{{#ifexpr: {{{length|0}}} > 0 | m | }} | |||
{{!}}- | |||
}} | |||
{{#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|Shadow}}}};" {{!}} Beam | |||
{{!}} {{{beam|}}}{{#ifexpr: {{{beam|0}}} > 0 | m | }} | |||
{{!}}- | |||
}} | |||
{{#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|Shadow}}}};" {{!}} Height | |||
{{!}} {{{height|}}}{{#ifexpr: {{{height|0}}} > 0 | m | }} | |||
{{!}}- | |||
}} | |||
{{#if:{{{mass (kilotons)|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Mass (kt) | |||
{{!}} {{{mass (kilotons)}}}{{#ifexpr: {{{mass (kilotons)|0}}} > 0 | kt | }} | |||
{{!}}- | |||
}} | |||
{{#if:{{{mass (tons)|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Mass (t) | |||
{{!}} {{{mass (tons)}}}{{#ifexpr: {{{mass (tons)|0}}} > 0 | t | }} | |||
{{!}}- | |||
}} | |||
{{#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|Shadow}}}};" {{!}} 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|Shadow}}}};" {{!}} Maximum speed | |||
{{!}} {{{maxspeed|}}}{{#ifexpr: {{{maxspeed|0}}} > 0 | m/s | }} | |||
{{!}}- | |||
}} | |||
{{#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|Shadow}}}};" {{!}} Crew | |||
{{!}} {{{crew|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{jumpequipped|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Jump Equipped | |||
{{!}} {{{jumpequipped|}}} | |||
{{!}}- | |||
}} | |||
{{#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|Shadow}}}};" {{!}} Armament | |||
{{!}} {{{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|Shadow}}}};" {{!}} Designer | |||
{{!}} {{{designer|}}} | |||
{{!}}- | |||
}} | |||
|} | |} | ||
<noinclude> | |||
== Usage == | == Usage == | ||
<div style="width: 40%;"><pre> | <div style="width: 40%;"><pre> | ||
| Line 218: | Line 317: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | |||
Revision as of 05:20, 7 March 2024
| Vehicle | |
|---|---|
|
Usage
{{Vehicle
| bg_color =
| name =
| image1 =
| image1width =
| caption1 =
| image2 =
| image2width =
| caption2 =
| type =
| role =
| series =
| manufacturer =
| status =
| length =
| beam =
| height =
| mass (kt) =
| mass (t) =
| gridsize =
| maxspeed =
| crew =
| jumpequipped =
| 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 | optional |
| Name | name | The name of the ship/vehicle
| String | required |
| Image 1 | image1 | The first image of the ship/vehicle
| File | suggested |
| Image 1 Width | image1width | The width of the first image
| String | optional |
| Caption 1 | caption1 | The caption for the first image
| String | optional |
| Image 2 | image2 | The second image of the ship/vehicle
| File | suggested |
| Image 2 Width | image2width | The width of the second image
| String | optional |
| Caption 2 | caption2 | The caption for the second image
| String | 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
| Content | suggested |
| 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 | suggested |
| Beam (m) | beam width | The width of the ship/vehicle in meters | Number | suggested |
| Height (m) | height | The height of the ship/vehicle in meters | Number | suggested |
| Mass (kt) | mass (kilotons) | The raw mass of the ship in thousands of metric tons | 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 | suggested |
| Jump equipped? | jumpequipped | Is the ship/vehicle equipped with a jump drive? | String | optional |
| Armament | armaments | The weapons installed on the ship/vehicle | String | suggested |
| Designer | designer | The person who designed/built the ship/vehicle
| User | suggested |
