Template:Vehicle specifications
More actions
This template handles data related to vehicles and displays vehicle specifications.
On the vehicle page
- Saves template parameters as Semantic MediaWiki data
- Set category from template parameters (TBA)
- Display vehicle specifications tables and tabbers
On other pages, it can be used to display the infobox of other vehicles. (TBA)
Usage
The template does not strictly require any parameters to be set.
{{Vehicle_specifications}}
Suggested parameters:
{{Vehicle_specifications
<!-- General tabber -->
| manufacturer = <!-- Manufacturer of the vehicle -->
| model = <!-- Model of the vehicle -->
| trim = <!-- Trim of the vehicle -->
| model_year = <!-- Model of the vehicle -->
| vehicle_id = <!-- Vehicle ID of the vehicle (for development usage) -->
| team = <!-- Required team to use the vehicle -->
| job = <!-- Required civilian job for using the vehicle -->
| form_factor = <!-- Form factor of the vehicle -->
| type = <!-- Type of the vehicle -->
| class = <!-- Class of the vehicle -->
| price = <!-- Dealership price of the vehicle -->
| discounted_price = <!-- Discounted price of the vehicle -->
| rank = <!-- Required rank for unlocking the vehicle -->
<!-- Performance tabber -->
| top_speed = <!-- Top speed of the vehicle in MPH -->
| top_reverse_speed = <!-- Top reverse speed of the vehicle in MPH -->
| acceleration = <!-- 0 to 60 MPH acceleration time of the vehicle in seconds with two decimals -->
| deceleration = <!-- 60 to 0 MPH deceleration time of the vehicle in seconds with two decimals -->
<!-- Structure tabber -->
| transmission = <!-- The amount of gears a vehicle has -->
| fuel_capacity = <!-- The amount of fuel a vehicle can hold in gallons -->
| battery_size = <!-- The battery size of an electric vehicle in kWh-->
| drivetrain = <!-- The drivetrain of the vehicle -->
| health = <!-- The amount of health a vehicle has -->
<!-- Frame tabber -->
| seats = <!-- The amount of seats a vehicle has -->
| wheels = <!-- The amount of wheels a vehicle has -->
| inspired_by = <!-- The real-life vehicle that this vehicle has taken the most inspiration from -->
| inspired_by_url = <!-- External link to the real-life inspiration vehicle -->
}}
TemplateData
Handles data related to vehicles and displays vehicle specifications.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Manufacturer | manufacturer | Manufacturer of the vehicle
| String | suggested |
| Model | model | Model of the vehicle
| String | suggested |
| Trim | trim | Trim of the vehicle
| String | suggested |
| Model year | model_year | Model year of the vehicle
| Number | suggested |
| Vehicle ID | vehicle_id | Vehicle ID of the vehicle (for development usage)
| Number | suggested |
| Team | team | Required team to use the vehicle (use Law Enforcement if the vehicle is available on both Police and Sheriff)
| String | suggested |
| Job | job | Required civilian job for using the vehicle
| String | suggested |
| Form factor | form_factor | Form factor of the vehicle
| String | suggested |
| Type | type | Type of the vehicle
| String | suggested |
| Class | class | Class of the vehicle
| String | suggested |
| Price | price | Dealership price of the vehicle
| Number | suggested |
| Discounted price | discounted_price | Discounted (for sale) price of the vehicle
| Number | suggested |
| Rank | rank | Required rank number for unlocking the vehicle
| Number | suggested |
| Top speed | top_speed | Top speed of the vehicle in MPH
| Number | suggested |
| Top reverse speed | top_reverse_speed | Top reverse speed of the vehicle in MPH
| Number | suggested |
| Acceleration | acceleration | 0 to 60 MPH acceleration time of the vehicle in seconds with two decimals
| Number | suggested |
| Deceleration | deceleration | 60 to 0 MPH deceleration time of the vehicle in seconds with two decimals
| Number | suggested |
| Transmission | transmission | The amount of gears a vehicle has
| Number | suggested |
| Fuel capacity | fuel_capacity | The amount of fuel a vehicle can hold in gallons
| Number | suggested |
| Battery size | battery_size | The battery size of an electric vehicle in kWh
| Number | suggested |
| Drivetrain | drivetrain | The drivetrain of the vehicle
| String | suggested |
| Health | health | The amount of health a vehicle has
| Number | suggested |
| Seats | seats | The amount of seats a vehicle has
| Number | suggested |
| Wheels | wheels | The amount of wheels a vehicle has
| Number | suggested |
| Inspired by | inspired_by | The real-life vehicle that this vehicle has taken the most inspiration from
| String | suggested |
| Inspired by URL | inspired_by_url | External link to the real-life inspiration vehicle
| URL | suggested |