Template:Infobox vehicle: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
RaiderAlpha (talk | contribs)
Undo revision 3875 by RaiderAlpha (talk)
Tag: Undo
RaiderAlpha (talk | contribs)
mNo edit summary
Line 9: Line 9:
|image2  = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|250px}}|center]]|}}
|image2  = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|250px}}|center]]|}}
|caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}}
|caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}}
|image3  = {{#if:{{{slides|}}}|{{{slides|}}}|}}
|image3  = {{#if:{{{slides|}}}|{{SlidesToTabber|{{{slides}}}|{{#if:{{{imgsize|}}}|{{{imgsize}}}|300px}}}}|[[File:{{#if:{{{image|}}}|{{{image}}}|Placeholder.png}}{{#if:{{{imgsize|}}}|{{!}}{{{imgsize}}}|{{#switch:{{{image}}}|Placeholder = | = |{{!}}300px}}}}{{#if:{{{imgdesc|}}}|{{!}}{{{imgdesc}}}}}]]{{#if:{{{imgdesc|}}}|<br/><span style="text-align:center; margin:3px;">''{{{imgdesc}}}''</span> }} }}
|header1  = {{#if:{{{is_flying|}}}|Air Vehicle|Ground Vehicle}}
|header1  = {{#if:{{{is_flying|}}}|Air Vehicle|Ground Vehicle}}
|label2  = Faction
|label2  = Faction

Revision as of 14:41, 15 September 2020

Vehicle
File:Placeholder.png
Ground Vehicle

Usage

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

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

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

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

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

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