Template:Vehicle Infobox

From Foxhole Wiki
Jump to navigation Jump to search
Template-info.png Documentation

Usage

Infobox used for all Vehicles. Place it after any notice templates like {{Stub}} but before {{Quote}}.

NOTE: All info related to vehicle/shippable armament is now done in Armament page with the Armament template and all info related to production is done in ProductionVehicle with ProductionVehicle template. Both define CargoTables.

Parameters

Parameter Description
name Full name of the vehicle. Mandatory
image Image file name with no markup. E.g. Crane.png
faction Displays the faction that can construct the vehicle. Defaults to both factions being able to construct the vehicle, with three options for changing it. Col = Colonial, War = Warden, and Nan = Not Applicable. Use Nan for things like the bicycle, which are found in the world.
vehicle_type The type of vehicle it is. E.g. Half-Track, Battle Tank, Armoured Car.
chassis The full name of the vehicle required to build this one, if any. Must match the "InputVehicle" parameter in the corresponding row of the "productionvehicle" cargo table.
build_location Where the vehicle is built. Has the options of Garage, Beach, Base (Near a friendly base), Shipyard for Shipyards, Base Ship, and more.
tier_cost Cost to upgrade the vehicle to Tier 2. Material icons must be added manually with {{ResourceDisp}} template.
shippable_size Size of the shippable when the vehicle is packaged. Possible values are: Small, Large, Extra Large and Unpackageable.
vehicle_hp Hit points of the vehicle. Used in {{Vehicle Infobox.Vehicle Health}}.
armour_type The type of armour the vehicle has: Tier2Tank, Tier1Tank, Tier1Ship, Tier1LargeShip, or LightVehicle. Used in {{Vehicle Infobox.Vehicle Health}} and Damage Resistance.
armour_hp Hit points of the vehicle's armour. Used in Tank Armor.
min_pen_chance The base penetration chances of the vehicle's Tank Armor with armour intact.
max_pen_chance The base penetration chances of the vehicle's Tank Armor with max stripped armour.
disable_chance_tracks Probability that a hit on the tracks disables them (if the ammo can disable subsystems). Also used to specify the vehicle has the tracks subsystems. Automatically appends %
disable_chance_fueltank Probability that a hit on the fuel tank disables it (if the ammo can disable subsystems). Also used to specify the vehicle has the fuel tank subsystems. Automatically appends %
disable_chance_turret Probability that a hit on the turret/cannon disables it (if the ammo can disable subsystems). Also used to specify the vehicle has the turret subsystems. Automatically appends %
disable_chance_turret2 Probability that a hit on the second turret/cannon disables it (if the ammo can disable subsystems). Also used to specify the vehicle has the second turret subsystems. Automatically appends %
trigger_mines Whether the vehicle trigger Abisme AT-99 mines. Values are Yes or nothing.
disable Disable threshold of the vehicle. Automatically adds % symbol after the parameter.
repair The amount of bmats required to repair the vehicle from near-death to full health.
crew Number of players who operate parts of the vehicle.
passengers Number of spaces for passengers.
slots Amount of generic inventory slots the vehicle has. Dedicated Ammo Slots do not count.
intel_range The Intelligence Gathering radius provided by the vehicle
armament Whether the vehicle has an armament. Value is Yes or nothing. The actual armaments are defined in the "Armament" page.
fueltype The type of liquids that can be used as fuel in those vehicles. Available values:Oil, Heavy Oil, Enriched Oil, Coal, Diesel/Petrol, Nothing.
fuelcap The maximum amount of fuel the vehicle can hold in liters. The L is automatically added. When left blank, this is used to determine that the vehicle doesn't use fuel.
fuelrate The amount of liters of fuel consumed per minute in liters. Automatically appends L / min
fuelduration The time it takes for the vehicle to fully deplete its fuel tank. minutes unit automatically added.
fuelrate_water The amount of liters of fuel consumed per minute in liters while in water. Automatically appends L / min
fuelduration_water The time it takes for the vehicle to fully deplete its fuel tank while in water. minutes unit automatically added.
fuelrate_boost The amount of liters of fuel consumed per minute in liters while boosting. Automatically appends L / min
fuelduration_boost The time it takes for the vehicle to fully deplete its fuel tank while boosting. minutes unit automatically added.
fuelrate_boost_water The amount of liters of fuel consumed per minute in liters while boosting in the water. Automatically appends L / min
fuelduration_boost_water The time it takes for the vehicle to fully deplete its fuel tank while boosting in the water. minutes unit automatically added.
speed The maximum speed on-roads (tier 1). m/s added automatically.
offspeed The maximum speed off-road. m/s added automatically.
waterspeed The maximum speed in water. m/s added automatically.
boostspeed The maximum boost speed. m/s added automatically.
boostspeed_off The maximum boost speed offroad. m/s added automatically.
boostspeed_water The maximum boost speed in water. m/s added automatically.
zero_encumbrance_speed_mod Speed modifier linked to encumbrance. Equal to top speed at 0% encumbrance divided by top speed at 50%. Only needed for vehicles affected by encumbrance. Used in Movement Speed dpl template.
max_encumbrance_speed_mod Speed modifier linked to encumbrance. Equal to top speed at 100+% encumbrance divided by top speed at 50%. Only needed for vehicles affected by encumbrance. Used in Movement Speed dpl template.
mobility The category of mobility of this vehicle (what this vehicle can ram through or cross, whether it needs to be pushed, what kind of rail it needs). Possible values: Moto, Truck, CV, TrackedHeavyTruck, APC, Tank, Pushed, Ship, LargeShip, SmallRail, LargeRail, CraneRail or nothing.
snow_immune Whether the vehicle's offroad speed is not affected by Snow Storms. Value is Yes or nothing.
storable Whether the vehicle can be stored in a Seaport or Storage Depot. Possible values are: Yes, No, Seaport (only in seaport), Public (only in public stockpiles), or nothing.
towed_weight The weight of the vehicle when towed. Only for towable vehicles. Possible values are: Very Light, Light, Medium, Heavy, Very Heavy, or nothing.
towing_power The towing power of the vehicle. Only for vehicles that can tow. Possible values are: Very Light, Light, Medium, Heavy, Very Heavy, or nothing.
status To specify special circumstances of a vehicle. Possible values are: Relic, Dead Harvest, Unavailable, or nothing (default value).

Empty Templates

This template contains all the different tags for this infobox. This is likely not needed, unless the vehicle is amphibious. Further example infoboxes are below for other vehicle types.

{{Vehicle Infobox
|name = 
|image = 
|faction = 
|vehicle_type = 
|build_location = 
|tier_cost =
|shippable_size =
|vehicle_hp = 
|armour_type = 
|armour_hp =
|min_pen_chance =
|trigger_mines =
|disable = 
|repair = 
|crew = 
|passengers = 
|slots = 
|intel_range = 
|armament =
|fuelcap = 
|fuelrate = 
|fuelduration = 
|fuelrate_water = 
|fuelduration_water = 
|fuelrate_boost = 
|fuelduration_boost = 
|fuelrate_boost_water = 
|fuelduration_boost_water = 
|speed = 
|offspeed = 
|waterspeed = 
|boostspeed = 
|boostspeed_off = 
|boostspeed_water = 
|mobility =
|snow_immune =
|storable =
|status =
|dpl_icon = 
|dpl_description = 
}}

This template defines the table "vehicles". View table.