Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}")
m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}")
Line 10: Line 10:
{{{formed-title|Active}}}:
{{{formed-title|Active}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{formed|}}}
{{{formed}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
Line 16: Line 16:
{{{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}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{branch|}}}|
{{#if:{{{branch|}}}|
Line 22: Line 22:
{{{branch-title|{{#switch:{{{variant|}}}|Cov=Group|Human=Branch|Branch}}}}}:
{{{branch-title|{{#switch:{{{variant|}}}|Cov=Group|Human=Branch|Branch}}}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{branch|}}}
{{{branch}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
Line 28: Line 28:
{{{type-title|Type}}}:
{{{type-title|Type}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type|}}}
{{{type}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{role|}}}|
{{#if:{{{role|}}}|
Line 34: Line 34:
{{{role-title|Role}}}:
{{{role-title|Role}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role|}}}
{{{role}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{size|}}}|
{{#if:{{{size|}}}|
Line 40: Line 40:
{{{size-title|Size}}}:
{{{size-title|Size}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{size|}}}
{{{size}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{nicknames|}}}|
{{#if:{{{nicknames|}}}|
Line 46: Line 46:
{{{nicknames-title|Nicknames}}}:
{{{nicknames-title|Nicknames}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{nicknames|}}}
{{{nicknames}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{battles|}}}|
{{#if:{{{battles|}}}|
Line 52: Line 52:
{{{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}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{commanders|}}}|
{{#if:{{{commanders|}}}|
Line 58: Line 58:
{{{commanders-title|Commanders}}}:
{{{commanders-title|Commanders}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{commanders|}}}
{{{commanders}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
Line 64: Line 64:
{{{notable-title|Notable information}}}:
{{{notable-title|Notable information}}}:
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable|}}}
{{{notable}}}
{{!}}-}}
{{!}}-}}
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  

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