Template:Infobox infantry: Difference between revisions
Jump to navigation
Jump to search
RaiderAlpha (talk | contribs) Created page with "<onlyinclude>{{Infobox |abovestyle = background: #ccccff; |headerstyle = background: #ccccff; |labelstyle = background: #ccccff; |above = {{#if:{{{name|}}}|{{{name|}}}|Inf..." |
RaiderAlpha (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Infobox | <onlyinclude>{{Infobox | ||
|abovestyle = background: #ccccff; | |bodystyle = width: {{#if:{{{width|}}}|{{{width|}}}|250px}}; | ||
|headerstyle = background: #ccccff; | |abovestyle = {{#switch:{{{theme|}}} | ||
|labelstyle = background: #ccccff; | |gdi = background: #e2c14e; color: #000; | ||
|nod = background: #b41616; color: #fff; | |||
|#default = background: #ccccff; color: #000; | |||
}} | |||
|headerstyle = {{#switch:{{{theme|}}} | |||
|gdi = background: #e2c14e; color: #000; | |||
|nod = background: #9d1313; color: #fff; | |||
|#default = background: #ccccff; color: #000; | |||
}} | |||
|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}} |
Revision as of 19:36, 7 September 2020
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 = }}