Difference between revisions of "Template:Vehicle"

From Roleplay UK Wiki
Jump to navigation Jump to search
m (Protected "Template:Vehicle": Excessive vandalism: Stop touching the templates if you don't know what to do. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Manual reversion)
Line 8: Line 8:
|-
|-
| Buy Price:
| Buy Price:
| {{#if: £{{{BuyPrice|}}} |  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 70: Line 67:
"description": "Total Buy Price of vehicle without 50% sale. No £ needed",
"description": "Total Buy Price of vehicle without 50% sale. No £ needed",
"type": "number",
"type": "number",
"required": false,
"required": true,
"example": "250,000"
"example": "250,000"
},
},
Line 85: Line 82:
"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 154: Line 142:
"RentalPrice",
"RentalPrice",
"RetrievalPrice",
"RetrievalPrice",
        "SellPrice",
"CanBeStolen?",
"CanBeStolen?",
"ChopPrice",
"ChopPrice",
Line 165: Line 152:
}
}
</templatedata>
</templatedata>
</noinclude>
[[Category:Templates]]
[[Category:Templates]]
[[Category:Vehicles]]
[[Category:Vehicles]]
</noinclude>

Revision as of 00:34, 14 January 2019

{{{VehName}}} [[File:{{{Image}}}|center|top|class=infobox-image|200px]]
Classname: {{{ClassName}}}
Buy Price: £{{{BuyPrice}}}
Rental Price: £{{{RentalPrice}}}
Retrieval Price: £{{{RetrievalPrice}}}
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

Template 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
Class NameClassName

Internal Class Name of the Vehicle

Example
C_Hatchback_01_sport_F
Stringsuggested
Buy PriceBuyPrice

Total Buy Price of vehicle without 50% sale. No £ needed

Example
250,000
Numberrequired
Rental PriceRentalPrice

Total Rental Price of vehicle without 50% sale. No £ Needed

Example
250,000
Numberrequired
Retrieval PriceRetrievalPrice

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

Example
250,000
Numbersuggested
Can be stolen?CanBeStolen?

Can the vehicle be stolen - Either True of False

Example
True or False
Booleanrequired
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 - Remove this field
Numbersuggested
Trunk SizeTrunkSpace

Total trunk size of the vehicle

Example
45
Numberrequired
Max SpeedMaxSpeed

Max Speed of the Vehicle

Example
250
Numbersuggested
Fuel SpaceFuelSpace

Total internal fuel space value

Example
45
Numbersuggested
SeatsSeats

Total seats in vehicle

Example
5
Numbersuggested
Armour RatingArmourRating

Internal Amour Rating of the vehicle

Example
10
Numbersuggested