1,718
edits
(Add logic to chop shop price to replace can be stolen) |
(removed pricing option) |
||
(30 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: {{{ | | {{#ifeq: {{{VehicleIllegal}}} | 1 | Illegal | Legal}} | ||
|- | |- {{#if: {{{WeaponPrimary|}}} | | style="display: none;" }} | ||
| '''Weapon:''' | |||
| {{{WeaponPrimary}}} | |||
| | |||
| | |||
| | |||
| ''' | |||
| | |||
|- | |- | ||
| '''Trunk Space:''' | | '''Trunk Space:''' | ||
Line 27: | Line 17: | ||
| '''Max Speed:''' | | '''Max Speed:''' | ||
| {{{MaxSpeed}}} km/h | | {{{MaxSpeed}}} km/h | ||
|- {{#if: {{{HorsePower|}}} | | style="display: none;" }} | |||
| '''Horse Power:''' | |||
| {{{HorsePower}}} | |||
|- | |- | ||
| '''Fuel Capacity:''' | | '''Fuel Capacity:''' | ||
Line 37: | Line 30: | ||
| {{{ArmourRating}}} | | {{{ArmourRating}}} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 47: | Line 39: | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"required": true, | "required": true, | ||
"example": "Image_Name.jpg" | "example": "Image_Name.jpg", | ||
"autovalue": "" | |||
}, | }, | ||
"VehName": { | "VehName": { | ||
"label": "Vehicle Name", | "label": "Vehicle Name", | ||
"description": "Name of the Vehicle", | "description": "Name of the Vehicle", | ||
"type": " | "type": "line", | ||
"required": true, | "required": true, | ||
"example": "Hatchback (Sport)" | "example": "Hatchback (Sport)" | ||
Line 58: | Line 51: | ||
"ClassName": { | "ClassName": { | ||
"label": "Class Name", | "label": "Class Name", | ||
"description": "Internal | "description": "Doesn't display publicly - Internal use only", | ||
"example": "C_Hatchback_01_sport_F", | "example": "C_Hatchback_01_sport_F", | ||
"type": " | "type": "line", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 95: | Line 88: | ||
"ChopPrice": { | "ChopPrice": { | ||
"label": "Chop Shop Price", | "label": "Chop Shop Price", | ||
"description": "How much you get | "description": "How much you get paid to scrap or how much to steal. If can't be stolen enter -1", | ||
"type": "number", | "type": "number", | ||
"suggested": true, | "suggested": true, | ||
"example": "If unable to be stolen - enter -1" | "example": "If unable to be stolen - enter -1", | ||
"autovalue": "" | |||
}, | }, | ||
"TrunkSpace": { | "TrunkSpace": { | ||
Line 134: | Line 128: | ||
"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": "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 | |||
} | } | ||
}, | }, | ||
Line 140: | Line 161: | ||
"Image", | "Image", | ||
"VehName", | "VehName", | ||
" | "VehicleType", | ||
"BuyPrice", | "BuyPrice", | ||
"RentalPrice", | "RentalPrice", | ||
Line 146: | Line 167: | ||
"SellPrice", | "SellPrice", | ||
"ChopPrice", | "ChopPrice", | ||
"VehicleIllegal", | |||
"TrunkSpace", | "TrunkSpace", | ||
"MaxSpeed", | "MaxSpeed", | ||
"HorsePower", | |||
"FuelSpace", | "FuelSpace", | ||
"Seats", | "Seats", | ||
"ArmourRating" | "ArmourRating", | ||
"ClassName", | |||
"WeaponPrimary" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
Line 159: | Line 184: | ||
[[Category:Vehicle Templates]] | [[Category:Vehicle Templates]] | ||
</noinclude> | </noinclude> | ||
<includeonly> | |||
[[Category:General]] | |||
[[Category:Vehicles]] | |||
</includeonly> |
edits