Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{!}} {{{image|}}}" to "{{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}")
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{{name|{{PAGENAME}}}}}")
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{{name|{{PAGENAME}}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|

Revision as of 19:40, April 23, 2022

Military infobox
 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Military infobox
|name=
|image=
|formed=
|affiliation=
|branch=
|type=
|role=
|size=
|nicknames=
|battles=
|commanders=
}}