Template:Unit infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "line-height:10px"" to "line-height:8px"") |
m (Text replacement - "#999999" to "#999") |
||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}; border-bottom:1px solid {{{lineBG|# | ! style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{mission|}}}| | {{#if:{{{mission|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{mission-title|Function}}}''': | '''{{{mission-title|Function}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{mission|}}} | {{{mission|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{leader|}}}| | {{#if:{{{leader|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{leader-title|Leader}}}''': | '''{{{leader-title|Leader}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{leader|}}} | {{{leader|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{species-title|Species}}}''': | '''{{{species-title|Species}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{species|}}} | {{{species|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{headquarters|}}}| | {{#if:{{{headquarters|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{headquarters-title|Headquarters}}}''': | '''{{{headquarters-title|Headquarters}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{headquarters|}}} | {{{headquarters|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} 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|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{affiliation|}}} | {{{affiliation|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{authority|}}}| | {{#if:{{{authority|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; 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|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{authority|}}} | {{{authority|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{branch|}}}| | {{#if:{{{branch|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} 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|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{branch|}}} | {{{branch|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{role-title|Other role(s)}}}''': | '''{{{role-title|Other role(s)}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{role|}}} | {{{role|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{size|}}}| | {{#if:{{{size|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} 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|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{size|}}} | {{{size|}}} | ||
{{!}}-}} | {{!}}-}} | ||
<!-- {{#if:{{{equipment|}}}| | <!-- {{#if:{{{equipment|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{equipment-title|Equipment}}}:''' | '''{{{equipment-title|Equipment}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{equipment|}}} | {{{equipment|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{armament|}}}| | {{#if:{{{armament|}}}| | ||
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{armament-title|Armament}}}:''' | '''{{{armament-title|Armament}}}:''' | ||
{{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{armament|}}} | {{{armament|}}} | ||
{{!}}-}} --> | {{!}}-}} --> | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{notable-title|Notable individuals}}}:''' | '''{{{notable-title|Notable individuals}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{notable|}}} | {{{notable|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{othernames|}}}| | {{#if:{{{othernames|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
'''{{{othernames-title|Also known as}}}:''' | '''{{{othernames-title|Also known as}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{othernames|}}} | {{{othernames|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 10:23, 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=