Template:RF1Vehicle: Difference between revisions

From Red Faction Wiki
(Created page with "<includeonly> <div class="vehicle-container" style="background: #f5f5f5 linear-gradient(0deg, var(<!-- --> {{#switch: {{{faction|}}} | Ultor = --ultor-color | EDF = --edf-color }}) 0%, rgba(255,255,255,0) 45%);"> <!-- --> <div class="vehicle-sec1">[[File:{{{image}}}|175px]]</div> <div class="vehicle-sec2"> {| |class="vehicle-name" id="<!-- -->{{#switch: {{{faction|}}} | Ultor = ultor-color | EDF = edf-color | ultor-color }}"|{{{name}}} |- |class="vehicle-name...")
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="vehicle-container" style="background: #f5f5f5 linear-gradient(0deg, var(<!--
<div class="vehicle-container" style="height: 310px;background: #f5f5f5 linear-gradient(0deg, var(<!--
-->
-->
{{#switch: {{{faction|}}}
{{#switch: {{{faction|}}}

Revision as of 05:58, 20 January 2024

{{Vehicle
|image           =
|name            =
|faction         =
|internal_name   =
|weapons         =
|seats           =
|type            =
|max_hp          =
}}

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

Usage:

{{RF1Vehicle
|image           = Col Mini Hauler.png
|name            = Mini Hauler
|faction         = Ultor
|weapons         = N/A
|seats           = 2
|type            = Transport
|max_hp          = 3000
|internal_name   = Col_Mini_Hauler
}}

Output:

Col Mini Hauler.png
Mini Hauler
Icon Ultor.png UltorCol_Mini_Hauler
WEAPONS
N/A
SEATS
2
TYPE
Transport
HP
3000