Difference between revisions of "Template:Vehicle"

From Roleplay UK Wiki
Jump to navigation Jump to search
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>

Revision as of 22:56, 13 January 2019

[[File:{{{Image}}}|center|top|class=infobox-image]] {{{VehName}}}
Classname: {{{ClassName}}}
Buy Price: £{{{BuyPrice}}}
Rental Price: £{{{RentalPrice}}}
Retrieval Price: £{{{RetrievalPrice}}}
Chop Shop Price: £{{{ChopPrice}}}
Trunk Space: {{{TrunkSpace}}}
Max Speed: {{{MaxSpeed}}} KM/H
Fuel Capacity: {{{FuelSpace}}}
Horse Power: {{{HorsePower}}}
Seats: {{{Seats}}}
Armour Rating: {{{ArmourRating}}}

Template to be used on all Vehicle pages

Template parameters

ParameterDescriptionTypeStatus
Vehicle ImageImage

Displays the image of said vehicle. Ensure its uploaded!

Filerequired
Vehicle NameVehName

Name of the Vehicle

Stringrequired
Class NameClassName

Internal Class Name of the Vehicle

Example
C_Hatchback_01_sport_F
Stringsuggested
Buy PriceBuyPrice

Total Buy Price of vehicle without 50% sale.

Numberrequired
Rental PriceRentalPrice

Total Rental Price of vehicle without 50% sale.

Numberrequired
Retrieval PriceRetrievalPrice

How much it costs to retrieve from the garage

Numbersuggested
Chop Shop PriceChopPrice

How much you get if you chop the vehicle if possible

Numbersuggested
Trunk SizeTrunkSpace

Total trunk size of the vehicle

Numberrequired
Max SpeedMaxSpeed

Max Speed of the Vehicle

Numbersuggested
Fuel SpaceFuelSpace

Total internal fuel space value

Numberoptional
Horse PowerHorsePower

Total horse power for the vehicle

Numberoptional
SeatsSeats

Total seats in vehicle

Numbersuggested
Armour RatingArmourRating

Internal Amour Rating of the vehicle

Numberoptional