Template:Vehicle/doc

Template page

Template:Documentation This template handles data related to vehicles.

On the vehicle page

  • Saves template parameters and API data as SMW data
  • Set category from SMW data
  • Set short description from SMW data
  • Display infobox from SMW data

On other pages, it can be used to display the infobox of other vehicles.

Usage

The template should fill in data automatically from API even if there are no template parameters.

{{Vehicle}}

Optional parameters: Template:Note

{{Vehicle
| image = <!-- Image name on wiki -->
| manufacturer = <!-- Manufacturer name -->
| productionstate = <!-- In Production/Retired -->
| mincrew = <!-- Minimum crew of the vehicle -->
| maxcrew = <!-- Maximum crew of the vehicle -->
| length = <!-- Length of the vehicle -->
| height = <!-- Height of the vehicle -->
| width = <!-- Width of the vehicle -->
| name = <!-- Name override of the vehicle if different from the page name -->
}}

The following parameters are needed if there are no data in game or on ship matrix.

{{Vehicle
| name = <!-- Vehicle name -->
| size = <!-- Size of the vehicle (e.g. small grid/large grid) -->
| role = <!-- Role of the ship -->
| cargocapacity = <!-- Cargo capacity in L -->
}}

TemplateData

Handles data related to vehicles.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Imageimage

The file name of the image of the ship/vehicle

Example
Graculus.jpg
Stringsuggested
Namename

The name of the ship/vehicle

Example
Graculus
Stringrequired
Manufacturermanufacturer

The manufacturer who made the ship/vehicle

Example
Enax Industries
Stringsuggested
Rolerole

The role of the ship/vehicle

Example
Prospector
Stringsuggested
Sizesize

The size of the ship/vehicle (Small grid/Large grid)

Example
Small
Stringsuggested
Min crewmincrew

The minimum crew of the ship/vehicle

Example
1
Numberrequired
Max crewmaxcrew

The maximum crew of the ship/vehicle

Example
2
Numberrequired
Ship/vehicle seriesseries

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

Example
Apis
Stringoptional
Cargo capacitycargocapacity

The cargo capacity of the ship in L (Liters)

Example
125
Numbersuggested
Production stateproductionstate

The production state of the ship/vehicle

Example
In Production/Retired
Stringoptional
Lengthlength

The length of the ship/vehicle in meters

Example
33.5
Numbersuggested
Widthwidth beam

The width of the ship/vehicle in meters

Example
13.2
Numbersuggested
Heightheight

The height of the ship/vehicle in meters

Example
4
Numbersuggested
Maximum speedmaxspeed

The maximum speed of the ship/vehicle in m/s (meters/second)

Example
170
Numberoptional
Massmass

The raw mass of the ship in kg (kilograms) or t (metric tons)

Example
700
Numberoptional
uuiduuid

no description

Unknownoptional
smwquerynamesmwqueryname

no description

Unknownoptional