Difference between revisions of "Template:Vehicle"
(Format numbers) |
(Add vehicle type (Car, Truck, MRAP, Air, Boat) etc) |
||
Line 6: | Line 6: | ||
| '''Classname:''' | | '''Classname:''' | ||
| {{{ClassName}}} | | {{{ClassName}}} | ||
|- | |||
| '''Type:''' | |||
| [[{{{VehicleType}}}]] | |||
|- | |- | ||
| '''Buy Price:''' | | '''Buy Price:''' | ||
Line 134: | Line 137: | ||
"suggested": true, | "suggested": true, | ||
"example": "10" | "example": "10" | ||
}, | |||
"VehicleType": { | |||
"label": "Vehicle Type", | |||
"description": "Vehicle Type, used to link to a page to show requirements.", | |||
"example": "MRAP", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 141: | Line 151: | ||
"VehName", | "VehName", | ||
"ClassName", | "ClassName", | ||
"VehicleType", | |||
"BuyPrice", | "BuyPrice", | ||
"RentalPrice", | "RentalPrice", |
Revision as of 02:58, 14 January 2019
Classname: | {{{ClassName}}} |
Type: | [[{{{VehicleType}}}]] |
Buy Price: | £{{{BuyPrice}}} |
Rental Price: | £Expression error: Unrecognized punctuation character "{". |
Retrieval Price: | £{{{RetrievalPrice}}} |
Sell Price: | £{{{SellPrice}}} |
Chop Shop Price: | Unknown |
Trunk Space: | {{{TrunkSpace}}} |
Max Speed: | {{{MaxSpeed}}} km/h |
Fuel Capacity: | {{{FuelSpace}}} |
Seats: | {{{Seats}}} |
Armour Rating: | {{{ArmourRating}}} |
Template to be used on all Vehicle pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Vehicle Image | Image | File name must be exact - ensure its uploaded
| File | required |
Vehicle Name | VehName | Name of the Vehicle
| String | required |
Class Name | ClassName | Internal Class Name of the Vehicle
| String | suggested |
Vehicle Type | VehicleType | Vehicle Type, used to link to a page to show requirements.
| Page name | suggested |
Buy Price | BuyPrice | Total Buy Price of vehicle without 50% sale. No £ needed. -1 if only rentable.
| Number | required |
Rental Price | RentalPrice | Total Rental Price of vehicle, only set this to override default 50% pricing. No £ Needed
| Number | optional |
Retrieval Price | RetrievalPrice | How much it costs to retrieve from the garage. No £ Needed
| Number | suggested |
Sell Price | SellPrice | How much the vehicle sells for in the garage. No £ Needed
| Number | suggested |
Chop Shop Price | ChopPrice | How much you get if you chop the vehicle if possible - If not possible, remove this field
| Number | suggested |
Trunk Size | TrunkSpace | Total trunk size of the vehicle
| Number | required |
Max Speed | MaxSpeed | Max Speed of the Vehicle
| Number | suggested |
Fuel Space | FuelSpace | Total internal fuel space value
| Number | suggested |
Seats | Seats | Total seats in vehicle
| Number | suggested |
Armour Rating | ArmourRating | Internal Amour Rating of the vehicle
| Number | suggested |