Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "! class="infoboxmedia"" to "{{!}} class="infoboxmedia"")
m (Text replacement - "'''" to "")
Line 8: Line 8:
{{#if:{{{formed|}}}|
{{#if:{{{formed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}
Line 14: Line 14:
{{#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 20: Line 20:
{{#if:{{{branch|}}}|
{{#if:{{{branch|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}
Line 26: Line 26:
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}
Line 32: Line 32:
{{#if:{{{role|}}}|
{{#if:{{{role|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}
Line 38: Line 38:
{{#if:{{{size|}}}|
{{#if:{{{size|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}
Line 44: Line 44:
{{#if:{{{nicknames|}}}|
{{#if:{{{nicknames|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}
Line 50: Line 50:
{{#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|}}}
Line 56: Line 56:
{{#if:{{{commanders|}}}|
{{#if:{{{commanders|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}
Line 62: Line 62:
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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|}}}

Revision as of 17:58, 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=
}}