Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "colspan="2" style="text-align:center; line-height:8px"" to "class="infoboxfooter" colspan="2"")
m (Text replacement - ":'''" to "''':")
Line 15: Line 15:
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{affiliation-title|Affiliation}}}:'''
'''{{{affiliation-title|Affiliation}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation|}}}
{{{affiliation|}}}
Line 51: Line 51:
{{#if:{{{battles|}}}|
{{#if:{{{battles|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{battles-title|Engagements}}}:'''
'''{{{battles-title|Engagements}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{battles|}}}
{{{battles|}}}

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