1,718
edits
m (Right-aligned) |
(removed pricing option) |
||
(58 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" | {| class="infobox" | ||
|+ | |+ class="infobox-title"|{{{VehName}}} | ||
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|200px]] | |||
|- | |- | ||
| | | '''Type:''' | ||
| {{{ | | [[{{{VehicleType}}}]] | ||
|- | |- | ||
| | | '''Legal Status:''' | ||
| | | {{#ifeq: {{{VehicleIllegal}}} | 1 | Illegal | Legal}} | ||
|- {{#if: {{{WeaponPrimary|}}} | | style="display: none;" }} | |||
| '''Weapon:''' | |||
| {{{WeaponPrimary}}} | |||
|- | |- | ||
| | | '''Trunk Space:''' | ||
| {{{TrunkSpace}}} | | {{{TrunkSpace}}} | ||
|- | |- | ||
| Max Speed: | | '''Max Speed:''' | ||
| {{{MaxSpeed}}} | | {{{MaxSpeed}}} km/h | ||
|- {{#if: {{{HorsePower|}}} | | style="display: none;" }} | |||
| '''Horse Power:''' | |||
| {{{HorsePower}}} | |||
|- | |- | ||
| Fuel Capacity: | | '''Fuel Capacity:''' | ||
| {{{FuelSpace}}} | | {{{FuelSpace}}} | ||
|- | |- | ||
| | | '''Seats:''' | ||
| {{{Seats}}} | | {{{Seats}}} | ||
|- | |- | ||
| Armour Rating: | | '''Armour Rating:''' | ||
| {{{ | | {{{ArmourRating}}} | ||
|} | |} | ||
</ | <noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"Image": { | |||
"label": "Vehicle Image", | |||
"description": "File name must be exact - ensure its uploaded", | |||
"type": "wiki-file-name", | |||
"required": true, | |||
"example": "Image_Name.jpg", | |||
"autovalue": "" | |||
}, | |||
"VehName": { | |||
"label": "Vehicle Name", | |||
"description": "Name of the Vehicle", | |||
"type": "line", | |||
"required": true, | |||
"example": "Hatchback (Sport)" | |||
}, | |||
"ClassName": { | |||
"label": "Class Name", | |||
"description": "Doesn't display publicly - Internal use only", | |||
"example": "C_Hatchback_01_sport_F", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"BuyPrice": { | |||
"label": "Buy Price", | |||
"description": "Total Buy Price of vehicle without 50% sale. No £ needed. -1 if only rentable.", | |||
"type": "number", | |||
"required": true, | |||
"example": "250,000" | |||
}, | |||
"RentalPrice": { | |||
"label": "Rental Price", | |||
"description": "Total Rental Price of vehicle, only set this to override default 50% pricing. No £ Needed", | |||
"type": "number", | |||
"required": false, | |||
"example": "250,000" | |||
}, | |||
"RetrievalPrice": { | |||
"label": "Retrieval Price", | |||
"description": "How much it costs to retrieve from the garage. No £ Needed", | |||
"type": "number", | |||
"suggested": true, | |||
"example": "1,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": "1,000", | |||
"default": "1,000" | |||
}, | |||
"ChopPrice": { | |||
"label": "Chop Shop Price", | |||
"description": "How much you get paid to scrap or how much to steal. If can't be stolen enter -1", | |||
"type": "number", | |||
"suggested": true, | |||
"example": "If unable to be stolen - enter -1", | |||
"autovalue": "" | |||
}, | |||
"TrunkSpace": { | |||
"label": "Trunk Size", | |||
"description": "Total trunk size of the vehicle", | |||
"type": "number", | |||
"required": true, | |||
"example": "45" | |||
}, | |||
"MaxSpeed": { | |||
"label": "Max Speed", | |||
"description": "Max Speed of the Vehicle", | |||
"type": "number", | |||
"suggested": true, | |||
"example": "250" | |||
}, | |||
"FuelSpace": { | |||
"label": "Fuel Space", | |||
"description": "Total internal fuel space value", | |||
"type": "number", | |||
"suggested": true, | |||
"example": "45" | |||
}, | |||
"Seats": { | |||
"label": "Seats", | |||
"description": "Total seats in vehicle", | |||
"type": "number", | |||
"suggested": true, | |||
"example": "5" | |||
}, | |||
"ArmourRating": { | |||
"label": "Armour Rating", | |||
"description": "Internal Amour Rating of the vehicle", | |||
"type": "number", | |||
"suggested": true, | |||
"example": "10" | |||
}, | |||
"VehicleType": { | |||
"label": "Vehicle Type", | |||
"description": "Vehicle Type, used to link to a page to show requirements.", | |||
"example": "Car, Truck, MRAP, Helicopter, Plane", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"VehicleIllegal": { | |||
"label": "Vehicle Illegal", | |||
"type": "boolean", | |||
"autovalue": "0", | |||
"required": true, | |||
"description": "Indicates if the vehicle is illegal or not. Set 0 for Legal and 1 for Illegal", | |||
"example": "1", | |||
"default": "0" | |||
}, | |||
"WeaponPrimary": { | |||
"description": "Name of the primary vehicle mounted weapon.", | |||
"type": "line" | |||
}, | |||
"HorsePower": { | |||
"label": "Horse Power", | |||
"description": "Total Horsepower of Vehicle", | |||
"example": "50", | |||
"type": "number", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Template to be used on all Vehicle pages", | |||
"paramOrder": [ | |||
"Image", | |||
"VehName", | |||
"VehicleType", | |||
"BuyPrice", | |||
"RentalPrice", | |||
"RetrievalPrice", | |||
"SellPrice", | |||
"ChopPrice", | |||
"VehicleIllegal", | |||
"TrunkSpace", | |||
"MaxSpeed", | |||
"HorsePower", | |||
"FuelSpace", | |||
"Seats", | |||
"ArmourRating", | |||
"ClassName", | |||
"WeaponPrimary" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
[[Category:Templates]] | |||
[[Category:Vehicle Templates]] | |||
</noinclude> | |||
<includeonly> | |||
[[Category:General]] | |||
[[Category:Vehicles]] | |||
</includeonly> |
edits