Difference between revisions of "Template:Vehicle"
Jump to navigation
Jump to search
m (Changed protection level for "Template:Vehicle" ([Edit=⧼protect-level-TemplateProtect⧽] (indefinite) [Move=⧼protect-level-TemplateProtect⧽] (indefinite))) |
(Add sell price and -1 text for rent only vehicles) |
||
Line 8: | Line 8: | ||
|- | |- | ||
| Buy Price: | | Buy Price: | ||
| £{{{BuyPrice}}} | | {{#ifeq: {{{BuyPrice}}} | -1 | Not Purchasable | £{{{BuyPrice}}}}} | ||
|- | |- | ||
| Rental Price: | | Rental Price: | ||
Line 15: | Line 15: | ||
| Retrieval Price: | | Retrieval Price: | ||
| £{{{RetrievalPrice}}} | | £{{{RetrievalPrice}}} | ||
|- | |||
| Sell Price: | |||
| £{{{SellPrice}}} | |||
|- | |- | ||
| Can be stolen? | | Can be stolen? | ||
Line 65: | Line 68: | ||
"BuyPrice": { | "BuyPrice": { | ||
"label": "Buy Price", | "label": "Buy Price", | ||
"description": "Total Buy Price of vehicle without 50% sale. No £ needed", | "description": "Total Buy Price of vehicle without 50% sale. No £ needed. -1 if only rentable.", | ||
"type": "number", | "type": "number", | ||
"required": true, | "required": true, | ||
Line 82: | Line 85: | ||
"type": "number", | "type": "number", | ||
"suggested": true, | "suggested": true, | ||
"example": "250,000" | "example": "250,000", | ||
"default": "1,000" | |||
}, | |||
"SellPrice": { | |||
"label": "Sell Price", | |||
"description": "How much the vehicle sells for in the garage. No £ Needed", | |||
"type": "number", | |||
"suggested": true, | |||
"example": "250,000", | |||
"default": "1,000" | |||
}, | }, | ||
"ChopPrice": { | "ChopPrice": { | ||
Line 142: | Line 154: | ||
"RentalPrice", | "RentalPrice", | ||
"RetrievalPrice", | "RetrievalPrice", | ||
"SellPrice", | |||
"CanBeStolen?", | "CanBeStolen?", | ||
"ChopPrice", | "ChopPrice", | ||
Line 152: | Line 165: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Vehicles]] | [[Category:Vehicles]] | ||
Revision as of 01:08, 14 January 2019
Classname: | {{{ClassName}}} |
Buy Price: | £{{{BuyPrice}}} |
Rental Price: | £{{{RentalPrice}}} |
Retrieval Price: | £{{{RetrievalPrice}}} |
Sell Price: | £{{{SellPrice}}} |
Can be stolen? | {{{CanBeStolen?}}} |
Chop Shop Price: | £{{{ChopPrice}}} |
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 |
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 without 50% sale. No £ Needed
| Number | required |
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 |
Can be stolen? | CanBeStolen? | Can the vehicle be stolen - Either True of False
| Boolean | required |
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 |