Template:Character infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "{{!}} {{{image|}}}" to "{{!}} {{{image}}}") |
m (Text replacement - "{{!}}-}}" to "}} |-") |
||
Line 14: | Line 14: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 20: | Line 21: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 26: | Line 28: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 32: | Line 35: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 38: | Line 42: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 44: | Line 49: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 50: | Line 56: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 56: | Line 63: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 62: | Line 70: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 68: | Line 77: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 74: | Line 84: | ||
{{!}} 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|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=slategray}}}}}" {{!}} {{{section2-title|Political and military information}}}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=slategray}}}}}" {{!}} {{{section2-title|Political and military information}}}}} | ||
Line 83: | Line 94: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 89: | Line 101: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 95: | Line 108: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 101: | Line 115: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 107: | Line 122: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 113: | Line 129: | ||
{{!}} 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" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} |
Revision as of 09:16, 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=