Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
(300 pixel width is fine for major characters but too large for minor characters with thin, small, or low resolution pictures.)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:10px; margin-right:0px; padding:2px; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=royalblue|#default=lightslategray}}}}};"
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:270px; margin:10px; margin-right:0px; padding:2px; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=royalblue|#default=lightslategray}}}}};"
{{!}}-
{{!}}-
! 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 23:38, October 6, 2015

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 or Human. no value makes infobox grey>
|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=