Difference between revisions of "Template:Vehicle"

2,273 bytes added ,  23:56, 13 January 2019
Added TemplateData
m (Right-aligned)
(Added TemplateData)
Line 35: Line 35:
|-
|-
| Armour Rating:
| Armour Rating:
| {{{ArmorRating}}}
| {{{ArmourRating}}}
|}
|}
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"Image": {
"label": "Vehicle Image",
"description": "Displays the image of said vehicle.  Ensure its uploaded!",
"type": "wiki-file-name",
"required": true
},
"VehName": {
"label": "Vehicle Name",
"description": "Name of the Vehicle",
"type": "string",
"required": true
},
"ClassName": {
"label": "Class Name",
"description": "Internal Class Name of the Vehicle",
"example": "C_Hatchback_01_sport_F",
"type": "string",
"suggested": true
},
"BuyPrice": {
"label": "Buy Price",
"description": "Total Buy Price of vehicle without 50% sale.",
"type": "number",
"required": true
},
"RentalPrice": {
"label": "Rental Price",
"description": "Total Rental Price of vehicle without 50% sale.",
"type": "number",
"required": true
},
"RetrievalPrice": {
"label": "Retrieval Price",
"description": "How much it costs to retrieve from the garage",
"type": "number",
"suggested": true
},
"ChopPrice": {
"label": "Chop Shop Price",
"description": "How much you get if you chop the vehicle if possible",
"type": "number",
"suggested": true
},
"TrunkSpace": {
"label": "Trunk Size",
"description": "Total trunk size of the vehicle",
"type": "number",
"required": true
},
"MaxSpeed": {
"label": "Max Speed",
"description": "Max Speed of the Vehicle",
"type": "number",
"suggested": true
},
"FuelSpace": {
"label": "Fuel Space",
"description": "Total internal fuel space value",
"type": "number"
},
"HorsePower": {
"label": "Horse Power",
"description": "Total horse power for the vehicle",
"type": "number"
},
"Seats": {
"label": "Seats",
"description": "Total seats in vehicle",
"type": "number",
"suggested": true
},
"ArmourRating": {
"label": "Armour Rating",
"description": "Internal Amour Rating of the vehicle",
"type": "number"
}
},
"description": "Template to be used on all Vehicle pages",
"paramOrder": [
"Image",
"VehName",
"ClassName",
"BuyPrice",
"RentalPrice",
"RetrievalPrice",
"ChopPrice",
"TrunkSpace",
"MaxSpeed",
"FuelSpace",
"HorsePower",
"Seats",
"ArmourRating"
]
}
</templatedata>
</noinclude>
563

edits