Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "5px 0 10px 15px" to "0 0 10px 15px")
m (Text replacement - "0 0 10px 15px" to "0 0 0.75em 1em")
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:300px; margin:0 0 10px 15px; padding:2px; border-radius: 0 0 .5em .5em; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:300px; margin:0 0 0.75em 1em; padding:2px; border-radius: 0 0 .5em .5em; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}

Revision as of 10:18, April 1, 2019

Character infobox
Biographical information
Political and military information
 

Usage

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

{{Character infobox|variant= <specify Cov, Human or Forerunner. No value makes infobox grey>
|name=
|image=
|homeworld=
|birth=
|death=
|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 Politic/Military section header)
|hidea=
|hideb=