Template:Unit infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "{{{lineBG\|([^\n}]+)}}}; font-size:90%;" to "{{{lineBG|$1}}};") |
m (Text replacement - "; padding-left:4px" to "") |
||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{mission|}}}| | {{#if:{{{mission|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{mission-title|Function}}}''': | '''{{{mission-title|Function}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 14: | Line 14: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{leader|}}}| | {{#if:{{{leader|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{leader-title|Leader}}}''': | '''{{{leader-title|Leader}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 20: | Line 20: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{species-title|Species}}}''': | '''{{{species-title|Species}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 26: | Line 26: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{headquarters|}}}| | {{#if:{{{headquarters|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{headquarters-title|Headquarters}}}''': | '''{{{headquarters-title|Headquarters}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 32: | Line 32: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{affiliation-title|Affiliation}}}:''' | '''{{{affiliation-title|Affiliation}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 38: | Line 38: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{authority|}}}| | {{#if:{{{authority|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 44: | Line 44: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{branch|}}}| | {{#if:{{{branch|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 50: | Line 50: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{role-title|Other role(s)}}}''': | '''{{{role-title|Other role(s)}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 56: | Line 56: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{size|}}}| | {{#if:{{{size|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{size-title|Size}}}''': | '''{{{size-title|Size}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 62: | Line 62: | ||
{{!}}-}} | {{!}}-}} | ||
<!-- {{#if:{{{equipment|}}}| | <!-- {{#if:{{{equipment|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{equipment-title|Equipment}}}:''' | '''{{{equipment-title|Equipment}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 68: | Line 68: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{armament|}}}| | {{#if:{{{armament|}}}| | ||
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{armament-title|Armament}}}:''' | '''{{{armament-title|Armament}}}:''' | ||
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 74: | Line 74: | ||
{{!}}-}} --> | {{!}}-}} --> | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{notable-title|Notable individuals}}}:''' | '''{{{notable-title|Notable individuals}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
Line 80: | Line 80: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{othernames|}}}| | {{#if:{{{othernames|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}} | ||
'''{{{othernames-title|Also known as}}}:''' | '''{{{othernames-title|Also known as}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}} |
Revision as of 00:04, September 15, 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=