Template:Unit infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "{{!}} {{{image|}}}" to "{{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}") |
BaconShelf (talk | contribs) m (the equipment section probably shouldn't be on in-universe infoboxes anyway - something more suited for gameplay-focused pages) |
||
Line 49: | Line 49: | ||
{{{size|}}} | {{{size|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{equipment|}}}| | <!-- {{#if:{{{equipment|}}}| | ||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | ||
'''{{{equipment-title|Equipment}}}:''' | '''{{{equipment-title|Equipment}}}:''' | ||
Line 55: | Line 55: | ||
{{{equipment|}}} | {{{equipment|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{armament|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | ||
'''{{{armament-title|Armament}}}:''' | '''{{{armament-title|Armament}}}:''' |
Revision as of 14:18, November 22, 2021
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= |species= |affiliation= |authority= |branch= |mission= |role= |size= |equipment= |notable= |othernames= }}
Custom parameters
The following are custom parameters that allows you to alter the infobox
|name= |<FIELD>-title= |imageBG= |nameBG= |sectionBG= |fieldBG=