Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "}} |- }} |-" to "}} |-")
m (Text replacement - "|{{!}}-|{{!}}-" to "||")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{fullname|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}|{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{fullname|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}|{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section1-title|Biographical information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section1-title|Biographical information}}}}}
}}
}}
Line 73: Line 73:
}}
}}
|-
|-
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section2-title|Personal details}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section2-title|Personal details}}}}}
}}
}}
Line 119: Line 119:
}}
}}
|-
|-
{{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
{{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section3-title|Political and military information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section3-title|Political and military information}}}}}
}}
}}

Revision as of 10:21, October 18, 2022

Character infobox
 

Usage

Copy and paste the following into the article and fill in the fields.

{{Character infobox
|variant=<specify Cov, Ban, Human or Forerunner. No value makes infobox grey>
|name=
|image=
|homeworld=
|birth=
|death=
|causeofdeath=
|parents=
|siblings=
|spouses=
|children=
|species=
|gender=
|height=
|mass=
|hair=
|eyes=
|affiliation=
|rank=<see below>*
|sn=<exclusive for human>**
|notable=
}}
* Note: For Forerunner characters when identifying rates and ranks, use the following format: RANK-TITLE ([[Rate|R]]: RATE-GROUP)
** Note: For those with UNSCMID, use the following format: SN-NUMBER ([[UNSCMID]]: UNSCMID-NUMBER)

Custom parameters

The following allow you to alter the style and title of the sub-sections:

|color=
|color2=
|BG=
|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|lineBG=
|section1-title=
|section2-title=
|section3-title=

Display parameters

The following allow you to force-hide the section headers:

|hidea=
|hideb=
|hidec=