Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "style="([^"\n]+)" colspan="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$2" style="$1"")
m (Text replacement - "class="([^"\n]+)" style="([^"\n]+)" colspan="([^"\n]+)"" to "class="$1" colspan="$3" style="$2"")
Line 1: Line 1:
{| class="infobox" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}}" cellspacing="0"
{| class="infobox" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}}" cellspacing="0"
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:#fff" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|

Revision as of 18:30, September 15, 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=
}}