Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 33: Line 33:
{{!}}  class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}}  class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{death|}}}
{{{death|}}}
{{!}}-}}
{{#if:{{{causeofdeath|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{causeofdeath-title|Cause of death}}}''':
{{!}}  class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{causeofdeath|}}}
{{!}}-}}
{{#if:{{{parents|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{parents-title|Parents}}}''':
{{!}}  class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{parents|}}}
{{!}}-}}
{{#if:{{{spouces|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{spouces-title|Spouce(s)}}}''':
{{!}}  class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{spouces|}}}
{{!}}-}}
{{#if:{{{children|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{children-title|Children}}}''':
{{!}}  class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{children|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section2-title|Characteristics}}}}}
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section2-title|Personnel details}}}}}
{{!}}-
{{!}}-
{{#if:{{{species|}}}|
{{#if:{{{species|}}}|
Line 120: Line 144:
|birth=
|birth=
|death=
|death=
|causeofdeath=
|parents=
|spouces=
|children=
|species=
|species=
|gender=
|gender=
Line 153: Line 181:
The following allows you to hide the section header
The following allows you to hide the section header
*hidea (hides Bio section header)
*hidea (hides Bio section header)
*hideb (hides Characteristics header)
*hideb (hides Personal details header)
*hidec (hides Politic/Military section header)
*hidec (hides Politic/Military section header)



Revision as of 10:09, April 18, 2021

Character infobox
Biographical information
Personnel details
Political and military information
 

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=
|spouces=
|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 allows you to alter the title of the sub-sections:

|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=

Display parameters

The following allows you to hide the section header

  • hidea (hides Bio section header)
  • hideb (hides Personal details header)
  • hidec (hides Politic/Military section header)
|hidea=
|hideb=
|hidec=