Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}")
m (Text replacement - "{{!}} {{{image|}}}" to "{{!}} {{{image}}}")
Line 3: Line 3:
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
|-
|-

Revision as of 09:42, 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=