Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "120%" to "130%") |
m (Text replacement - "{{!}} {{{section" to "class="infoboxsubheading" {{!}} {{{section") |
||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{fullname|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}|{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{fullname|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}|{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section1-title|Biographical information}}}}}}} | ! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" class="infoboxsubheading" {{!}} {{{section1-title|Biographical information}}}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{fullname|}}}| | {{#if:{{{fullname|}}}| | ||
Line 65: | Line 65: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section2-title|Personal details}}}}}}} | ! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" class="infoboxsubheading" {{!}} {{{section2-title|Personal details}}}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
Line 104: | Line 104: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | {{#if:{{{affiliation|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" {{!}} {{{section3-title|Political and military information}}}}}}} | ! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}" class="infoboxsubheading" {{!}} {{{section3-title|Political and military information}}}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| |
Revision as of 12:00, September 15, 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=