Template:Character infobox: Difference between revisions
From Halopedia, the Halo 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: | ||
{{{fullname-title|Full name}}}: | {{{fullname-title|Full name}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{fullname | {{{fullname}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{homeworld|}}}| | {{#if:{{{homeworld|}}}| | ||
Line 19: | Line 19: | ||
{{{homeworld-title|Homeworld}}}: | {{{homeworld-title|Homeworld}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{homeworld | {{{homeworld}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{birth|}}}| | {{#if:{{{birth|}}}| | ||
Line 25: | Line 25: | ||
{{{birth-title|Born}}}: | {{{birth-title|Born}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{birth | {{{birth}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{death|}}}| | {{#if:{{{death|}}}| | ||
Line 31: | Line 31: | ||
{{{death-title|Died}}}: | {{{death-title|Died}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{death | {{{death}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{causeofdeath|}}}| | {{#if:{{{causeofdeath|}}}| | ||
Line 37: | Line 37: | ||
{{{causeofdeath-title|Cause of death}}}: | {{{causeofdeath-title|Cause of death}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{causeofdeath | {{{causeofdeath}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{parents|}}}| | {{#if:{{{parents|}}}| | ||
Line 43: | Line 43: | ||
{{{parents-title|Parents}}}: | {{{parents-title|Parents}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{parents | {{{parents}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{siblings|}}}| | {{#if:{{{siblings|}}}| | ||
Line 49: | Line 49: | ||
{{{siblings-title|Siblings}}}: | {{{siblings-title|Siblings}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{siblings | {{{siblings}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{spouses|}}}| | {{#if:{{{spouses|}}}| | ||
Line 55: | Line 55: | ||
{{{spouses-title|Spouse(s)}}}: | {{{spouses-title|Spouse(s)}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{spouses | {{{spouses}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{children|}}}| | {{#if:{{{children|}}}| | ||
Line 61: | Line 61: | ||
{{{children-title|Children}}}: | {{{children-title|Children}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{children | {{{children}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
Line 70: | Line 70: | ||
{{{species-title|Species}}}: | {{{species-title|Species}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{species | {{{species}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{gender|}}}| | {{#if:{{{gender|}}}| | ||
Line 76: | Line 76: | ||
{{{gender-title|Gender}}}: | {{{gender-title|Gender}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{gender | {{{gender}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
Line 82: | Line 82: | ||
{{{height-title|Height}}}: | {{{height-title|Height}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{height | {{{height}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{mass|}}}| | {{#if:{{{mass|}}}| | ||
Line 88: | Line 88: | ||
{{{mass-title|Weight}}}: | {{{mass-title|Weight}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{mass | {{{mass}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hair|}}}| | {{#if:{{{hair|}}}| | ||
Line 94: | Line 94: | ||
{{{hair-title|Hair color}}}: | {{{hair-title|Hair color}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{hair | {{{hair}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{eyes|}}}| | {{#if:{{{eyes|}}}| | ||
Line 100: | Line 100: | ||
{{{eyes-title|Eye color}}}: | {{{eyes-title|Eye color}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{eyes | {{{eyes}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | {{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | ||
Line 109: | Line 109: | ||
{{{affiliation-title|Affiliation}}}: | {{{affiliation-title|Affiliation}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{affiliation | {{{affiliation}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{rank|}}}| | {{#if:{{{rank|}}}| | ||
Line 115: | Line 115: | ||
{{{rank-title|Rank}}}: | {{{rank-title|Rank}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{rank | {{{rank}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{sn|}}}| | {{#if:{{{sn|}}}| | ||
Line 121: | Line 121: | ||
{{{sn-title|[[Service number|Service number]]}}}: | {{{sn-title|[[Service number|Service number]]}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{sn | {{{sn}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
Line 127: | Line 127: | ||
{{{notable-title|Notable info}}}: | {{{notable-title|Notable info}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{notable | {{{notable}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{misc|}}}| | {{#if:{{{misc|}}}| | ||
Line 133: | Line 133: | ||
{{{misc-title|Miscellaneous}}}: | {{{misc-title|Miscellaneous}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{misc | {{{misc}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 08:29, 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=