Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "style="[^"\n]+" \|  " to "style="text-align:center; line-height:10px" |  ")
m (Text replacement - "<div>{{{caption}}}</div>" to "{{clear}}{{{caption}}}")
Line 4: Line 4:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
{{!}}-

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