Template:Military infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "<div style="clear:both">{{{caption}}}</div>" to "<div>{{{caption}}}</div>") |
m (Text replacement - "text-align: *center; " to "") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}}" | {| class="infobox" cellspacing="0" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}}" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}} | ! style="background:{{{nameBG|transparent}}}; font-size:120%; color:#FFFFFF" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}} | ! style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 67: | Line 67: | ||
{{{notable|}}} | {{{notable|}}} | ||
{{!}}-}} | {{!}}-}} | ||
| colspan="2" style=" | | colspan="2" style="background:{{{BG|transparent}}}; padding:0; font-size:9px; line-height:10px" | | ||
|}<noinclude> | |}<noinclude> | ||
{{clear}} | {{clear}} |
Revision as of 09:49, 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= }}