Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 138: Line 138:
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px" | 
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character}}}}}</includeonly><noinclude>{{Era|Lock}}
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character}}}}}{{#if:{{{nocat|}}}||{{#ifeq:{{#sub:{{lc:{{{gender|}}}}}|0|4}}|male|[[Category:Male characters]]}}{{#ifeq:{{#sub:{{lc:{{{gender|}}}}}|0|6}}|female|[[Category:Female characters]]}}}}</includeonly><noinclude>{{Era|Lock}}
{{clear}}
{{clear}}
==Usage==
==Usage==

Revision as of 11:18, May 10, 2021

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=