Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - " line-height: *14px;" to "")
m (Text replacement - "px;"" to "px"")
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{formed|}}}|
{{#if:{{{formed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{formed-title|Active}}}''':
'''{{{formed-title|Active}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 14: Line 14:
{{!}}-}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{affiliation-title|Affiliation}}}:'''
'''{{{affiliation-title|Affiliation}}}:'''
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 20: Line 20:
{{!}}-}}
{{!}}-}}
{{#if:{{{branch|}}}|
{{#if:{{{branch|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; 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|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 26: Line 26:
{{!}}-}}
{{!}}-}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{type-title|Type}}}''':
'''{{{type-title|Type}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 32: Line 32:
{{!}}-}}
{{!}}-}}
{{#if:{{{role|}}}|
{{#if:{{{role|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{role-title|Role}}}''':
'''{{{role-title|Role}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 38: Line 38:
{{!}}-}}
{{!}}-}}
{{#if:{{{size|}}}|
{{#if:{{{size|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{size-title|Size}}}''':
'''{{{size-title|Size}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 44: Line 44:
{{!}}-}}
{{!}}-}}
{{#if:{{{nicknames|}}}|
{{#if:{{{nicknames|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{nicknames-title|Nicknames}}}''':
'''{{{nicknames-title|Nicknames}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 50: Line 50:
{{!}}-}}
{{!}}-}}
{{#if:{{{battles|}}}|
{{#if:{{{battles|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{battles-title|Engagements}}}:'''
'''{{{battles-title|Engagements}}}:'''
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 56: Line 56:
{{!}}-}}
{{!}}-}}
{{#if:{{{commanders|}}}|
{{#if:{{{commanders|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{commanders-title|Commanders}}}''':
'''{{{commanders-title|Commanders}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
Line 62: Line 62:
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}}
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{notable-title|Notable information}}}''':
'''{{{notable-title|Notable information}}}''':
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{notable|}}}
{{{notable|}}}
{{!}}-}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:9px; line-height:10px;" | 
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:9px; line-height:10px" | 
|}<noinclude>
|}<noinclude>
{{clear}}
{{clear}}

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