Difference between revisions of "Template:Vehicle"

From Roleplay UK Wiki
Jump to navigation Jump to search
m (Missing : reeeee)
(Remove Fuel/Armour info)
Line 23: Line 23:
|-
|-
| '''Legal Status:'''
| '''Legal Status:'''
| {{#ifeq: {{{VehicleIllegal}}} | 1 | Illegal | Legal}}
| {{#ifeq: {{{VehicleIllegal}}} | 0 | Legal | Illegal}}
|-
|-
| '''Trunk Space:'''
| '''Trunk Space:'''
Line 30: Line 30:
| '''Max Speed:'''
| '''Max Speed:'''
| {{{MaxSpeed}}} km/h
| {{{MaxSpeed}}} km/h
|-
| '''Fuel Capacity:'''
| {{{FuelSpace}}}
|-
|-
| '''Seats:'''
| '''Seats:'''
| {{{Seats}}}
| {{{Seats}}}
|-
| '''Armour Rating:'''
| {{{ArmourRating}}}
|}
|}
</div>
</div>
Line 117: Line 111:
"suggested": true,
"suggested": true,
"example": "250"
"example": "250"
},
"FuelSpace": {
"label": "Fuel Space",
"description": "Total internal fuel space value",
"type": "number",
"suggested": true,
"example": "45"
},
},
"Seats": {
"Seats": {
Line 131: Line 118:
"suggested": true,
"suggested": true,
"example": "5"
"example": "5"
},
"ArmourRating": {
"label": "Armour Rating",
"description": "Internal Amour Rating of the vehicle",
"type": "number",
"suggested": true,
"example": "10"
},
},
"VehicleType": {
"VehicleType": {
Line 167: Line 147:
"TrunkSpace",
"TrunkSpace",
"MaxSpeed",
"MaxSpeed",
"FuelSpace",
"Seats",
"Seats",
"ArmourRating",
"ClassName"
"ClassName"
],
],

Revision as of 00:12, 15 January 2019

{{{VehName}}}
[[File:{{{Image}}}|center|top|class=infobox-image|200px]]
Type: [[{{{VehicleType}}}]]
Buy Price: £{{{BuyPrice}}}
Rental Price: £Expression error: Unrecognized punctuation character "{".
Retrieval Price: £{{{RetrievalPrice}}}
Sell Price: £{{{SellPrice}}}
Chop Shop Price: Unknown
Legal Status: Illegal
Trunk Space: {{{TrunkSpace}}}
Max Speed: {{{MaxSpeed}}} km/h
Seats: {{{Seats}}}

Template to be used on all Vehicle pages

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Vehicle ImageImage

File name must be exact - ensure its uploaded

Example
Image_Name.jpg
Filerequired
Vehicle NameVehName

Name of the Vehicle

Example
Hatchback (Sport)
Stringrequired
Vehicle TypeVehicleType

Vehicle Type, used to link to a page to show requirements.

Example
MRAP
Page namesuggested
Buy PriceBuyPrice

Total Buy Price of vehicle without 50% sale. No £ needed. -1 if only rentable.

Example
250,000
Numberrequired
Rental PriceRentalPrice

Total Rental Price of vehicle, only set this to override default 50% pricing. No £ Needed

Example
250,000
Numberoptional
Retrieval PriceRetrievalPrice

How much it costs to retrieve from the garage. No £ Needed

Default
1,000
Example
1,000
Numbersuggested
Sell PriceSellPrice

How much the vehicle sells for in the garage. No £ Needed

Default
1,000
Example
1,000
Numbersuggested
Chop Shop PriceChopPrice

How much you get if you chop the vehicle if possible - If not possible, remove this field

Example
If unable to be stolen - enter -1
Auto value
Numbersuggested
Vehicle IllegalVehicleIllegal

Indicates if the vehicle is illegal or not. Set False for Legal and True for Illegal

Auto value
false
Booleanrequired
Trunk SizeTrunkSpace

Total trunk size of the vehicle

Example
45
Numberrequired
Max SpeedMaxSpeed

Max Speed of the Vehicle

Example
250
Numbersuggested
SeatsSeats

Total seats in vehicle

Example
5
Numbersuggested
Class NameClassName

Doesn't display publicly - Internal use only

Example
C_Hatchback_01_sport_F
Stringsuggested