Template:Vehicle: Difference between revisions

Template page
No edit summary
No edit summary
Line 3: Line 3:
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:{{{image}}}}}|{{{imagewidth|348}}}px]] {{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''}}
{{!}} align="center" colspan="2" {{!}}  
{{#ifexpr: {{#pos: "|tabber" | {{{image}}} }} |
    {{#replace: {{#replace: {{{image}}} | "<tabber>" | "" }} | "</tabber>" | "" }}
    | [[{{#setmainimage:{{{image}}}}}|{{{imagewidth|348}}}px]]
}}
{{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''}}
{{!}}-
{{!}}-
|
|

Revision as of 15:45, 7 March 2024

{{#if: |
Vehicle


Usage

{{Vehicle
| bg_color            =
| name                =
| image               = 
| imagewidth          = 
| caption             =
| 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
bg_colorbg_color

no description

Stringoptional
Namename

The name of the ship/vehicle

Example
Graculus
Stringrequired
Imageimage

An image of the ship/vehicle

Example
File:Image1.jpg
Filesuggested
Image Widthimagewidth

The width of the image

Example
348px
Stringsuggested
Caption caption

A caption for the image

Example
Caption for Image 1
Stringoptional
Typetype

The type of ship/vehicle it is

Example
Industrial ship
Stringsuggested
Rolerole

The role of the ship/vehicle

Example
Survey, mining support
Stringsuggested
Ship/vehicle seriesseries

The ship/vehicle series that this ship/vehicle belongs to

Example
Apis series
Stringoptional
Manufacturermanufacturer

The manufacturer who made the ship/vehicle

Example
Enax Industries
Contentsuggested
Statusproductionstatus

The status of the ship/vehicle or its production status

Example
In production/retired/destroyed
Stringoptional
Length (m)length

The length of the ship/vehicle in meters

Numbersuggested
Beam (m)beam width

The width of the ship/vehicle in meters

Numbersuggested
Height (m)height

The height of the ship/vehicle in meters

Numbersuggested
Mass (kt)mass (kilotons)

The raw mass of the ship in thousands of metric tons

Numberoptional
Mass (t)mass (tons)

The raw mass of the ship in metric tons

Numberoptional
Grid sizegridsize

The grid size of the ship/vehicle

Example
Large grid/Small grid
Stringsuggested
Maximum speed (m/s)maxspeed

The maximum speed of the ship/vehicle in meters/second

Numberoptional
Crewcrew

The number of crew members the ship/vehicle can support

Numbersuggested
Jump equipped?jumpequipped

Is the ship/vehicle equipped with a jump drive?

Stringoptional
Armamentarmaments

The weapons installed on the ship/vehicle

Stringsuggested
Designerdesigner

The person who designed/built the ship/vehicle

Example
Ghosthands
Usersuggested