Template:Unit infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "px;"" to "px"")
m (Text replacement - "; font-size:90%;" {{!}}" to "" {{!}}")
Line 10: Line 10:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{mission-title|Function}}}''':
'''{{{mission-title|Function}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{mission|}}}
{{{mission|}}}
{{!}}-}}
{{!}}-}}
Line 16: Line 16:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{leader-title|Leader}}}''':
'''{{{leader-title|Leader}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{leader|}}}
{{{leader|}}}
{{!}}-}}
{{!}}-}}
Line 22: Line 22:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{species-title|Species}}}''':
'''{{{species-title|Species}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{species|}}}
{{{species|}}}
{{!}}-}}
{{!}}-}}
Line 28: Line 28:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{headquarters-title|Headquarters}}}''':
'''{{{headquarters-title|Headquarters}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{headquarters|}}}
{{{headquarters|}}}
{{!}}-}}
{{!}}-}}
Line 34: Line 34:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; 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}}}" {{!}}
{{{affiliation|}}}
{{{affiliation|}}}
{{!}}-}}
{{!}}-}}
Line 40: Line 40:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{authority-title|{{#switch:{{{variant|}}}|Cov=Ministry|Human=Operational<br>authority|Authority}}}}}''':
'''{{{authority-title|{{#switch:{{{variant|}}}|Cov=Ministry|Human=Operational<br>authority|Authority}}}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{authority|}}}
{{{authority|}}}
{{!}}-}}
{{!}}-}}
Line 46: Line 46:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; 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}}}" {{!}}
{{{branch|}}}
{{{branch|}}}
{{!}}-}}
{{!}}-}}
Line 52: Line 52:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{role-title|Other role(s)}}}''':
'''{{{role-title|Other role(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{role|}}}
{{{role|}}}
{{!}}-}}
{{!}}-}}
Line 58: Line 58:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; 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}}}" {{!}}
{{{size|}}}
{{{size|}}}
{{!}}-}}
{{!}}-}}
Line 64: Line 64:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{equipment-title|Equipment}}}:'''
'''{{{equipment-title|Equipment}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{equipment|}}}
{{{equipment|}}}
{{!}}-}}
{{!}}-}}
Line 70: Line 70:
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{armament-title|Armament}}}:'''
'''{{{armament-title|Armament}}}:'''
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{armament|}}}
{{{armament|}}}
{{!}}-}} -->
{{!}}-}} -->
Line 76: Line 76:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{notable-title|Notable individuals}}}:'''
'''{{{notable-title|Notable individuals}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{notable|}}}
{{{notable|}}}
{{!}}-}}
{{!}}-}}
Line 82: Line 82:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; width:70px" {{!}}
'''{{{othernames-title|Also known as}}}:'''
'''{{{othernames-title|Also known as}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{othernames|}}}
{{{othernames|}}}
{{!}}-}}
{{!}}-}}

Revision as of 23:38, September 14, 2022

Unit infobox
 

About

Standardised for all faction use.

Usage

Paste the following code into the top of an article, filling all known fields:

Note: adding 'Cov' in the "variant" field will set every title using Covenant standards (i.e. Group as opposed to Branch, Ministry as opposed to Operational authority). The opposite is the same if 'Human' is added instead.
{{Unit infobox|variant= <specify Cov, Ban, Human, Forerunner. No value makes infobox grey>
|image=
|mission=
|leader=
|species=
|headquarters=
|authority=
|branch=
|affiliation=
|role=
|size=
|notable=
|othernames=
}}

Custom parameters

The following are custom parameters that allows you to alter the infobox

|name=
|<FIELD>-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=