Template:VehicleSimple: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 133: Line 133:
</pre></div>
</pre></div>
IM JUST SPITBALLIN HEEEAH
IM JUST SPITBALLIN HEEEAH
== TemplateData ==
<templatedata>
{
"params": {
"image": {
"label": "Image",
"description": "The file name of the image of the ship/vehicle",
"example": "Graculus.jpg",
"type": "string",
"suggested": true
},
"name": {
"label": "Name",
"description": "The name of the ship/vehicle",
"example": "Graculus",
"type": "string",
"required": true
},
"manufacturer": {
"label": "Manufacturer",
"description": "The manufacturer who made the ship/vehicle",
"example": "Enax Industries",
"type": "string",
"suggested": true
},
"size": {
"label": "Size",
"description": "The size of the ship/vehicle (Small grid/Large grid)",
"example": "Small",
"type": "string",
"suggested": true
},
"mincrew": {
"label": "Min crew",
"description": "The minimum crew of the ship/vehicle",
"example": "1",
"type": "number",
"required": true
},
"maxcrew": {
"label": "Max crew",
"description": "The maximum crew of the ship/vehicle",
"example": "2",
"type": "number",
"required": true
},
"series": {
"label": "Ship/vehicle series",
"description": "The ship/vehicle series that this ship/vehicle belongs to",
"example": "Apis",
"type": "string"
},
"cargocapacity": {
"label": "Cargo capacity",
"description": "The cargo capacity of the ship in L (Liters)",
"example": "125",
"type": "number",
"suggested": true
},
"productionstate": {
"label": "Production state",
"description": "The production state of the ship/vehicle",
"example": "In Production/Retired",
"type": "string"
},
"mass": {
"label": "Mass",
"description": "The raw mass of the ship in kg (kilograms) or t (metric tons)",
"example": "700",
"type": "number"
},
"length": {
"label": "Length",
"description": "The length of the ship/vehicle in meters",
"example": "33.5",
"type": "number",
"suggested": true
},
"width": {
"label": "Width",
"description": "The width of the ship/vehicle in meters",
"example": "13.2",
"type": "number",
"suggested": true,
"aliases": [
"beam"
]
},
"height": {
"label": "Height",
"description": "The height of the ship/vehicle in meters",
"example": "4",
"type": "number",
"suggested": true
},
"maxspeed": {
"label": "Maximum speed",
"description": "The maximum speed of the ship/vehicle in m/s (meters/second)",
"example": "170",
"type": "number"
},
"role": {
"label": "Role",
"description": "The role of the ship/vehicle",
"example": "Prospector",
"type": "string",
"suggested": true
},
"uuid": {},
"smwqueryname": {}
},
"description": "Handles data related to vehicles.",
"paramOrder": [
"image",
"name",
"manufacturer",
"role",
"size",
"mincrew",
"maxcrew",
"series",
"cargocapacity",
"productionstate",
"length",
"width",
"height",
"maxspeed",
"mass",
"uuid",
"smwqueryname"
],
"format": "{{_\n| _______________________________ = _\n}}\n"
}
</templatedata>


[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 22:26, 5 March 2024

VehicleSimple
Vehicle
Composition
Usage


Usage

{{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 -->
}}

IM JUST SPITBALLIN HEEEAH

TemplateData

Handles data related to vehicles.

Template parameters[Edit template data]

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