Template:Infobox building: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
RaiderAlpha (talk | contribs)
No edit summary
RaiderAlpha (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
|labelstyle  = {{Infobox style|infobox_label}}
|labelstyle  = {{Infobox style|infobox_label}}


|above    = {{#if:{{{name|}}}|{{{name|}}}|Building}}{{#if:{{{icon|}}}|<br />[[File:{{{icon|}}}|160px|center]]|}}
|above    = {{#if:{{{name|}}}|{{{name|}}}|Building}}{{#if:{{{icon|}}}|<br />[[File:{{{icon|}}}|144px|center]]|}}
|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|}}}|}}
Line 20: Line 20:


|header8  = {{#if:{{{weapon|}}}|{{{weapon|}}}|}}
|header8  = {{#if:{{{weapon|}}}|{{{weapon|}}}|}}
|label9  = Base damage
|label9  = <abbr title="Full damage will be inflicted only if the target body is struck completely by the projectile. {{#ifeq:{{{is_defense|}}}|2|Advanced automated defenses cannot gain veterancy|Automated defenses gain veterancy by killing infantry and destroying vehicles}}.">Damage</abbr>
|data9    = {{#if:{{{damage|}}}|{{{damage|}}}|}}
|data9    = {{#if:{{{damage|}}}|{{{damage|}}}|}}
|label10  = Projectile type
|label10  = Projectile type
Line 34: Line 34:


|header15 = {{#if:{{{weapon_2|}}}|{{{weapon_2|}}}|}}
|header15 = {{#if:{{{weapon_2|}}}|{{{weapon_2|}}}|}}
|label16  = Base damage
|label16  = <abbr title="Full damage will be inflicted only if the target body is struck completely by the projectile. {{#ifeq:{{{is_defense|}}}|2|Advanced automated defenses cannot gain veterancy|Automated defenses gain veterancy by killing infantry and destroying vehicles}}.">Damage</abbr>
|data16  = {{#if:{{{damage_2|}}}|{{{damage_2|}}}|}}
|data16  = {{#if:{{{damage_2|}}}|{{{damage_2|}}}|}}
|label17  = Projectile type
|label17  = Projectile type

Latest revision as of 10:57, 30 January 2021

Building
Building

Usage

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

{{Infobox building
|theme        = 
|name         = 
|slides       =
|icon         = 
|image        = 
|imgsize      = 
|imgdesc      = 

<!-- General characteristics -->
|is_defense   = 
|is_tech      = 
|faction      = 
|role         = 
|health       = 
|seats        = 

<!-- 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       = 
}}