Template:Vehicle: Difference between revisions

From Red Faction Wiki
m (Redesign)
mNo edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
<includeonly>
<div class="vehicle-container" style="background: #f5f5f5 linear-gradient(0deg, var(<!--
<div class="vehicle-container" style="display: inline-block !important; background: #f5f5f5 linear-gradient(0deg, var(<!--
 
-->
 
{{#switch: {{{faction|}}}
-->{{#switch: {{{faction|}}}
   | RF = --red-faction-color
   | RF = --red-faction-color
   | Ultor = --ultor-color
   | Ultor = --ultor-color
Line 9: Line 8:
   | Mar = --marauder-color
   | Mar = --marauder-color
   | --red-faction-color
   | --red-faction-color
}}<!--
}}) 0%, rgba(255,255,255,0) 45%);">
-->) 0%, rgba(255,255,255,0) 45%);"><!--
<!--




--><div class="vehicle-sec1">[[File:{{{image}}}|175px]]</div><!--
-->
 
<div class="vehicle-sec1">[[File:{{{image}}}|175px]]</div>
--><div class="vehicle-sec2">
<div class="vehicle-sec2" style="text-align: left;">
{|
{|
|class="vehicle-name"|{{{name}}}
|class="vehicle-name" id="<!--
-->{{#switch: {{{faction|}}}
  | RF
  | RF1 = red-faction-color
  | Ultor = ultor-color
  | EDF = edf-color
  | Mar = marauder-color
  | ultor-color
}}"|{{{name}}}
|-
|-
|class="vehicle-name-caption"|{{Team|{{{faction}}}}}
|class="vehicle-name-caption"|{{Team|{{{faction}}}}} • <span class="vehicle-internalname">{{{internal_name}}}</span>
|}
|}</div><!--
</div><!--


--><div class="vehicle-sec3">
--><div class="vehicle-sec3">
{|
{|
|<div class="vehicle-roundedbox">Parker</div>
|<div class="vehicle-roundedbox" id="{{#if: {{{in_parker|}}} | sector-yes}}">[[Parker (Sector)|Parker]]</div>
|<div class="vehicle-roundedbox">Dust</div>
|<div class="vehicle-roundedbox" id="{{#if: {{{in_dust|}}} | sector-yes}}">[[Dust]]</div>
|<div class="vehicle-roundedbox">The Badlands</div>
|<div class="vehicle-roundedbox" id="{{#if: {{{in_badlands|}}} | sector-yes}}">[[Badlands]]</div>
|-
|-
|<div class="vehicle-roundedbox">Oasis</div>
|<div class="vehicle-roundedbox" id="{{#if: {{{in_oasis|}}} | sector-yes}}">[[Oasis]]</div>
|<div class="vehicle-roundedbox">Free Fire Zone</div>
|<div class="vehicle-roundedbox" id="{{#if: {{{in_freefirezone|}}} | sector-yes}}">[[Free Fire Zone|FFZ]]</div>
|<div class="vehicle-roundedbox">Eos</div>
|<div class="vehicle-roundedbox" id="{{#if: {{{in_eos|}}} | sector-yes}}">[[Eos (Sector)|Eos]]</div>
|}
|}
</div>
</div>
Line 60: Line 66:
|}
|}
|}
|}
</div>
</div></div></includeonly><!--
</div>
</onlyinclude><!--




Line 68: Line 72:
<pre>
<pre>
{{Vehicle
{{Vehicle
|image         =
|image           =
|name           =
|name           =
|faction       =
|faction         =
|description    =
|weapons        =
|locations      =
|type            =
|weapons        =
|size            =
|size           =
|seats           =
|seats         =
|max_hp         =
|max_hp         =
|max_speed      =
|max_speed      =
|internal_name  =
|internal_names =
|in_parker      =
|in_dust         =
|in_badlands    =
|in_oasis        =
|in_freefirezone =
|in_eos          =
}}
}}
</pre>
</pre>


{|
A template to create a box to show details of a vehicle.
|
 
'''Guide to each parameter:'''
<pre>
{{Vehicle
{{Vehicle
|image         = Col Mini Hauler.png
|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           = Mini Hauler
 
|faction       = RF
|name           = Display or commonly used name of vehicle
|description    = ...
 
|locations      = [[Parker (Settlement)|Parker]], [[Dust]], [[Free Fire Zone]]
|faction         = Refer to Template:Team linked at the bottom of this template. Only RF, RF1, Ultor, EDF and Marauder apply to this
|weapons        = N/A
 
|size           = Small
|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.)
|seats         = 2
 
|max_hp         = 3000
|type            = Vehicle type (e.g. Transport, Walker, Flyer, Mission, Unused)
|max_speed      = 38 mph
 
|internal_names = Col_Mini_Hauler_1<br>Col_Mini_Hauler_2<br>Col_Mini_Hauler_3
|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          =
}}
}}
|
</pre>
 
'''Usage:'''
<pre>
{{Vehicle
{{Vehicle
|image         = Min ATV.png
|image           = Col Mini Hauler.png
|name           = Mining ATV
|name           = Mini Hauler
|faction       = RF
|faction         = RF
|description    = ...
|weapons        = N/A
|locations      = [[Dust]], [[The Badlands]]
|size            = Small
|weapons        = MG
|seats          = 2
|size          = Small
|type            = Transport
|seats         = 1
|max_hp         = 3000
|max_hp         = 2500
|max_speed      = 38 mph
|max_speed      = 62 mph
|internal_name  = Col_Mini_Hauler
|internal_names = Min_ATV_1<br>Min_ATV_2<br>Min_ATV_3<br>Min_ATV_MG1<br>Min_ATV_MG2<br>Min_ATV_MG3
|in_parker      = yes
|in_dust         = yes
|in_badlands    =
|in_oasis        =
|in_freefirezone = yes
|in_eos          =
}}
}}
|-
</pre>
|
'''Output:'''
{{Vehicle
{{Vehicle
|image         = Min_DumpTruck.png
|image           = Col Mini Hauler.png
|name           = Dump Truck
|name           = Mini Hauler
|faction       = RF
|faction         = RF
|description    = ...
|weapons         = N/A
|locations      = [[Parker (Settlement)|Parker]], [[Dust]]
|size           = Small
|weapons       = N/A
|seats           = 2
|size          = Large
|type            = Transport
|seats          = 3
|max_hp         = 3000
|max_hp         = 11500
|max_speed       = 38 mph
|max_speed     = 32 mph
|internal_name  = Col_Mini_Hauler
|internal_names = Min_DumpTruck_1<br>Min_DumpTruck_2<br>Min_DumpTruck_3
|in_parker      = yes
|in_dust        = yes
|in_badlands    =
|in_oasis        =
|in_freefirezone = yes
|in_eos          =
}}
}}
|
[[Category:Block Templates]]
{{Vehicle
|image          = Min_LightPickup.png
|name          = Light Pickup
|faction        = RF
|description    = ...
|locations      = [[Parker (Settlement)|Parker]], [[Dust]], [[Free Fire Zone]]
|weapons        = MG
|size          = Medium
|seats          = 4
|max_hp        = 5500
|max_speed      = 52 mph
|internal_names = Min_LightPickup_1<br>Min_LightPickup_2<br>Min_LightPickup_3<br>Min_LightPickup_MG1<br>Min_LightPickup_MG2<br>Min_LightPickup_MG3
}}
|-
|
{{Vehicle
|image          = Min_Rover.png
|name          = Rover
|faction        = RF
|description    = ...
|locations      = [[The Badlands]], [[Free Fire Zone]], [[Eos]]
|weapons        = MG
|size          = Medium
|seats          = 4
|max_hp        = 6500
|max_speed      = 53 mph
|internal_names = Min_Rover-A_1<br>Min_Rover-A_2<br>Min_Rover-A_3<br>Min_Rover-A_MG1<br>Min_Rover-A_MG2<br>Min_Rover-A_MG3
}}
|
{{Vehicle
|image          = Min_SupplyTruck.png
|name          = Supply Truck
|faction        = RF
|description    = ...
|locations      = [[Parker (Settlement)|Parker]], [[Dust]], [[Free Fire Zone]], [[Eos]]
|weapons        = MG
|size          = Large
|seats          = 4
|max_hp        = 7500
|max_speed      = 44 mph
|internal_names = Min_SupplyTruck_1<br>Min_SupplyTruck_2<br>Min_SupplyTruck_3<br>Min_SupplyTruck_MG1<br>Min_SupplyTruck_MG2<br>Min_SupplyTruck_MG3
}}
|-
|
{{Vehicle
|image          = Civ_ResRunner_1.png
|name          = Supercar
|faction        = RF
|description    = ...
|locations      = [[Oasis]], [[Eos]]
|weapons        = N/A
|size          = Small
|seats          = 2
|max_hp        = 3000
|max_speed      = 65 mph
|internal_names = Civ_ResRunner_1
}}
|
{{Vehicle
|image          = Civ_ResLuxury.png
|name          = Luxury SUV
|faction        = RF
|description    = ...
|locations      = [[Oasis]], [[Eos]]
|weapons        = N/A
|size          = Medium
|seats          = 4
|max_hp        = 3500
|max_speed      = 46 mph
|internal_names = Civ_ResLuxury-C_1
}}
|-
|{{Vehicle
|image          = Civ_ResRunner-C_1.png
|name          = Luxury Coupé
|faction        = RF
|description    = ...
|locations      = [[Oasis]], [[Eos]]
|weapons        = N/A
|size          = Medium
|seats          = 2
|max_hp        = 3000
|max_speed      = 58 mph
|internal_names = Civ_ResRunner-C_1
}}
|
{{Vehicle
|image          = Col_Caravan.png
|name          = Luxury Bus
|faction        = RF
|description    = ...
|locations      = [[Oasis]], [[Eos]]
|weapons        = N/A
|size          = Medium
|seats          = 6
|max_hp        = 6000
|max_speed      = 40 mph
|internal_names = Col_Caravan_1<br>Col_Caravan_2<br>Col_Caravan_3
}}
|-
|{{Vehicle
|image          = Col_Taxi.png
|name          = Luxury Taxi
|faction        = RF
|description    = ...
|locations      = [[Oasis]], [[Eos]]
|weapons        = N/A
|size          = Medium
|seats          = 4
|max_hp        = 3700
|max_speed      = 49 mph
|internal_names = Col_Taxi_1<br>Col_Taxi_2<br>Col_Taxi_3
}}
|
{{Vehicle
|image          = Col_TrashTruck.png
|name          = Garbage Truck
|faction        = RF
|description    = ...
|locations      = [[Oasis]], [[Free Fire Zone]], [[Eos]]
|weapons        = N/A
|size          = Large
|seats          = 2
|max_hp        = 7800
|max_speed      = 42 mph
|internal_names = Col_TrashTruck_1<br>Col_TrashTruck_MG1
}}
|-
|
{{Vehicle
|image          = Min_Emergency.png
|name          = Emergency Rover
|faction        = RF
|description    = ...
|locations      = [[Oasis]], [[Eos]]
|weapons        = N/A
|size          = Medium
|seats          = 4
|max_hp        = 7000
|max_speed      = 55 mph
|internal_names = Min_Emergency_1
}}
|
{{Vehicle
|image          =
|name          =
|faction        = RF
|description    = ...
|locations      =
|weapons        = N/A
|size          =
|seats          =
|max_hp        =
|max_speed      =  mph
|internal_names =
}}
|}


</noinclude>
</noinclude>

Latest revision as of 02:39, 18 February 2024

{{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