Template:Vehicle

From Red Faction Wiki
Revision as of 02:39, 18 February 2024 by SimpleArrows (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{Vehicle
|image           =
|name            =
|faction         =
|weapons         =
|type            =
|size            =
|seats           =
|max_hp          =
|max_speed       =
|internal_name   =
|in_parker       =
|in_dust         =
|in_badlands     = 
|in_oasis        =
|in_freefirezone =
|in_eos          =
}}

A template to create a box to show details of a vehicle.

Guide to each parameter:

{{Vehicle
|image           = Only type the name of the image and its extension. Do not add [[File:]] or similar syntax (e.g. Col_Mini_Hauler.png). ONLY use square images (one with equal dimensions) otherwise the box's formatting will be wrong.

|name            = Display or commonly used name of vehicle

|faction         = Refer to Template:Team linked at the bottom of this template. Only RF, RF1, Ultor, EDF and Marauder apply to this

|weapons         = List (comma separated) any weapons that this vehicle can have (include any weapons from vehicle variants) (e.g. MG, Gauss, Rockets, Missiles, Swinging arms, etc.)

|type            = Vehicle type (e.g. Transport, Walker, Flyer, Mission, Unused)

|size            = Only use Small/Medium/Large for this parameter

|seats           = Number of seats in the vehicle. If there's variants with different seat numbers only use the most commonly used variant of the vehicle

|max_hp          = Max hit points of the vehicle, numerical value

|max_speed       = Max speed of the vehicle, include any speed measurement if it is mentioned in the game code. If there's no set max speed use the words Slow/Normal/Fast. For RF:G vehicles, EnforcedMaxSpeed is the value you're looking for, which uses the MPH measurement.

|internal_name   = The name that the game files refers to the vehicle as. Use the internal name from the regular variant and remove any numbers and only use the common name in all the variants (e.g. if you have "EDF_APC-A_1", "EDF_APC_noturret", "EDF_APC-A_Gauss" then use "EDF_APC" as they are the common name)

|in_parker       = Use "yes" to denote that the vehicle spawns in this sector. Can refer to spawning during a mission, activity, as an ambient vehicle, etc. Leave blank if it doesn't spawn.
|in_dust         =
|in_badlands     = 
|in_oasis        =
|in_freefirezone =
|in_eos          =
}}

Usage:

{{Vehicle
|image           = Col Mini Hauler.png
|name            = Mini Hauler
|faction         = RF
|weapons         = N/A
|size            = Small
|seats           = 2
|type            = Transport
|max_hp          = 3000
|max_speed       = 38 mph
|internal_name   = Col_Mini_Hauler
|in_parker       = yes
|in_dust         = yes
|in_badlands     = 
|in_oasis        =
|in_freefirezone = yes
|in_eos          =
}}

Output:

Col Mini Hauler.png
Mini Hauler
Icon RFG.png Red FactionCol_Mini_Hauler
WEAPONS
N/A
SEATS
2
SIZE
Small
HP
3000
TYPE
Transport
SPEED
38 mph