Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{fullname|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}|{{!}}- | {{#if:{{{fullname|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}|{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section1-title|Biographical information}}}}} | ! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section1-title|Biographical information}}}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{fullname|}}}| | {{#if:{{{fullname|}}}| | ||
Line 64: | Line 64: | ||
{{{children|}}} | {{{children|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{!}}- | {{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section2-title|Personal details}}}}} | ! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section2-title|Personal details}}}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
Line 103: | Line 103: | ||
{{{eyes|}}} | {{{eyes|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{!}}- | {{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section3-title|Political and military information}}}}} | ! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section3-title|Political and military information}}}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
Line 173: | Line 173: | ||
:<nowiki>**</nowiki> <small>Note: For those with [[UNSCMID]], use the following format: <code><nowiki>SN-NUMBER ([[UNSCMID]]: UNSCMID-NUMBER)</nowiki></code></small> | :<nowiki>**</nowiki> <small>Note: For those with [[UNSCMID]], use the following format: <code><nowiki>SN-NUMBER ([[UNSCMID]]: UNSCMID-NUMBER)</nowiki></code></small> | ||
==Custom parameters== | ===Custom parameters=== | ||
The following | The following allow you to alter the style and title of the sub-sections: | ||
<pre> | <pre> | ||
|color= | |color= | ||
Line 187: | Line 188: | ||
|section2-title= | |section2-title= | ||
|section3-title= | |section3-title= | ||
</pre> | |||
===Display parameters=== | |||
The following allow you to force-hide the section headers: | |||
<pre> | |||
|hidea= | |||
|hideb= | |||
|hidec= | |||
</pre> | </pre> | ||
[[Category:Updated infoboxes]]</noinclude> | [[Category:Updated infoboxes]]</noinclude> |
Revision as of 00:42, April 21, 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= |fullname= |homeworld= |birth= |death= |causeofdeath= |parents= |siblings= |spouses= |children= |species= |gender= |height= |mass= |hair= |eyes= |affiliation= |rank=<see below>* |sn=<exclusive for human>** |notable= |misc= }}
- * 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=