Template:Character infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}")
m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}")
Line 13: Line 13:
{{{othernames-title|Other name(s)}}}:
{{{othernames-title|Other name(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{othernames|}}}
{{{othernames}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{fullname|}}}|
{{#if:{{{fullname|}}}|
Line 19: Line 19:
{{{fullname-title|Full name}}}:
{{{fullname-title|Full name}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{fullname|}}}
{{{fullname}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{homeworld|}}}|
{{#if:{{{homeworld|}}}|
Line 25: Line 25:
{{{homeworld-title|Homeworld}}}:
{{{homeworld-title|Homeworld}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{homeworld|}}}
{{{homeworld}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{birth|}}}|
{{#if:{{{birth|}}}|
Line 31: Line 31:
{{{birth-title|Born}}}:
{{{birth-title|Born}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{birth|}}}
{{{birth}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{death|}}}|
{{#if:{{{death|}}}|
Line 37: Line 37:
{{{death-title|Died}}}:
{{{death-title|Died}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{death|}}}
{{{death}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{species|}}}|
{{#if:{{{species|}}}|
Line 43: Line 43:
{{{species-title|Species}}}:
{{{species-title|Species}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{species|}}}
{{{species}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
Line 49: Line 49:
{{{gender-title|Gender}}}:
{{{gender-title|Gender}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{gender|}}}
{{{gender}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
Line 55: Line 55:
{{{height-title|Height}}}:
{{{height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height|}}}
{{{height}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
Line 61: Line 61:
{{{mass-title|Weight}}}:
{{{mass-title|Weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mass|}}}
{{{mass}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hair|}}}|
{{#if:{{{hair|}}}|
Line 67: Line 67:
{{{hair-title|Hair color}}}:
{{{hair-title|Hair color}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hair|}}}
{{{hair}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{eyes|}}}|
{{#if:{{{eyes|}}}|
Line 73: Line 73:
{{{eyes-title|Eye color}}}:
{{{eyes-title|Eye color}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{eyes|}}}
{{{eyes}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
Line 82: Line 82:
{{{affiliation-title|Affiliation}}}:
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation|}}}
{{{affiliation}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{rank|}}}|
{{#if:{{{rank|}}}|
Line 88: Line 88:
{{{rank-title|Rank}}}:
{{{rank-title|Rank}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{rank|}}}
{{{rank}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
Line 94: Line 94:
{{{class-title|Class}}}:
{{{class-title|Class}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{class|}}}
{{{class}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{sn|}}}|
{{#if:{{{sn|}}}|
Line 100: Line 100:
{{{sn-title|Service number}}}:
{{{sn-title|Service number}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{sn|}}}
{{{sn}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
Line 106: Line 106:
{{{notable-title|Notable info}}}:
{{{notable-title|Notable info}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable|}}}
{{{notable}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{misc|}}}|
{{#if:{{{misc|}}}|
Line 112: Line 112:
{{{misc-title|Miscellaneous}}}:
{{{misc-title|Miscellaneous}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc|}}}
{{{misc}}}
{{!}}-}}
{{!}}-}}
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  

Revision as of 08:27, October 18, 2022

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 Human, Exo, Awoken, Fallen, Cabal, Hive, Vex, or Taken. No value renders infobox grey.>
|othernames=
|image=
|homeworld=
|birth=
|death=
|species=
|gender=
|height=
|mass=
|hair=
|eyes=
|affiliation=
|rank=
|class=
|sn=
|notable=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|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=