Template:Infobox vehicle: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 6: Line 6:
|above    = {{#if:{{{name|}}}|{{{name|}}}|Vehicle}}
|above    = {{#if:{{{name|}}}|{{{name|}}}|Vehicle}}
|image    = {{#if:{{{icon|}}}|[[File:{{{icon|}}}|72px|center]]|}}
|image    = {{#if:{{{icon|}}}|[[File:{{{icon|}}}|72px|center]]|}}
|image2  = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imgsize|250px}}}|center]]|}}
|image2  = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|250px}}|center]]|}}
|caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}}
|caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}}
|header1  = {{#if:{{{is_flying|}}}|Flying vehicle|Ground vehicle}}
|header1  = {{#if:{{{is_flying|}}}|Flying vehicle|Ground vehicle}}

Revision as of 17:36, 5 September 2020

Vehicle
Ground vehicle

Usage

To use this template, insert the following code into the page and fill out the fields:

{{Infobox vehicle
|name         = 
|icon         = 
|image        = 
|imgsize      = 
|imgdesc      = 

<!-- General characteristics -->
|faction      = 
|role         = 
|health       = 
|armor_type   = 
|seats        = 
|cost         = 
|is_flying    = 

<!-- Primary armament -->
|weapon       = 
|proj_type    = 
|proj_speed   = 
|range        = 
|rof          = 
|clip         = 

<!-- Secondary armament -->
|weapon_2     = 
|proj_type_2  = 
|proj_speed_2 = 
|range_2      = 
|rof_2        = 
|clip_2       = 

<!-- Miscellaneous -->
|internalname = 
}}