Template:Infobox infantry: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{Infobox
<onlyinclude>{{Infobox
|bodystyle = width: {{#if:{{{width|}}}|{{{width|}}}|250px}};
|bodystyle = {{Infobox style|infobox}}
|abovestyle  = {{#switch:{{{theme|}}}
|abovestyle  = {{Infobox style|infobox_title}}
|gdi = background: #e2c14e; color: #000;
|headerstyle = {{Infobox style|infobox_header}}
|nod = background: #b41616; color: #fff;
|labelstyle  = {{Infobox style|infobox_label}}
|#default = background: #ccccff; color: #000;
 
}}
|aboveclass = infobox-title
|headerstyle = {{#switch:{{{theme|}}}
|rowclass  = infobox-data
|gdi = background: #e2c14e; color: #000;
|class1    = infobox-header
|nod = background: #9d1313; color: #fff;
|class10    = infobox-header
|#default = background: #ccccff; color: #000;
|class22    = infobox-header
}}
|labelstyle  = {{#switch:{{{theme|}}}
|gdi = background: #e2c14e; color: #000;
|nod = background: #b41616; color: #fff;
|#default = background: #ccccff; color: #000;
}}


|above    = {{#if:{{{name|}}}|{{{name|}}}|Infantry}}
|above    = {{#if:{{{name|}}}|{{{name|}}}|Infantry}}
Line 41: Line 35:
|data9    = {{#if:{{{requires|}}}|{{{requires|}}}|}}
|data9    = {{#if:{{{requires|}}}|{{{requires|}}}|}}


|header10 = {{#if:{{{weapon|}}}|Equipment|}}
|header10 = {{#if:{{{weapon|}}}{{{sidearm|}}}{{{explosive|}}}{{{grenade|}}}|Loadout|}}
|label11  = Primary weapon
|label11  = Primary weapon
|data11  = {{#if:{{{weapon|}}}|{{{weapon|}}}|}}
|data11  = {{#if:{{{weapon|}}}|{{{weapon|}}}|}}
Line 53: Line 47:
|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}}
|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}}
|label23  = Internal name
|label23  = Internal name
|data23  = {{#if:{{{internalname|}}}|{{{internalname|}}}|}}
|data23  = {{#if:{{{internalname|}}}|<small>{{{internalname|}}}</small>|}}
|label24  = Jargon
|label24  = [[Glossary of player terms|<font color="#fff">Jargon</font>]]
|data24  = {{#if:{{{jargon|}}}|{{{jargon|}}}|}}
|data24  = {{#if:{{{jargon|}}}|{{{jargon|}}}|}}
}}</onlyinclude><noinclude>
}}</onlyinclude><noinclude>

Latest revision as of 18:27, 28 April 2022

Infantry
Infantry

Usage

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

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

<!-- General characteristics -->
|is_character = 
|faction      = 
|role         = 
|health       = 
|armor        = 
|armor_type   = 
|speed        = 
|cost         = 
|requires     = 

<!-- Equipment -->
|weapon       = 
|sidearm      = 
|explosive    = 
|grenade      = 

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