Template:Infobox building: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
RaiderAlpha (talk | contribs)
mNo edit summary
RaiderAlpha (talk | contribs)
No edit summary
Line 8: Line 8:
|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|}}}|}}
|header1  = {{#if:{{{is_defense|}}}|Defense|Building}}
 
|header1  = {{#if:{{{is_defense|}}}|Defense|{{#if:{{{is_tech|}}}|Tech Building|Building}}}}
|label2  = Faction
|label2  = Faction
|data2    = {{#if:{{{faction|}}}|{{{faction|}}}|}}
|data2    = {{#if:{{{faction|}}}|{{{faction|}}}|}}
Line 65: Line 66:
<!-- General characteristics -->
<!-- General characteristics -->
|is_defense  =  
|is_defense  =  
|is_tech      =
|faction      =  
|faction      =  
|role        =  
|role        =  

Revision as of 14:39, 7 September 2020

Building
Building

Usage

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

{{Infobox building
|name         = 
|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       = 
}}