Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{ | {{#if:{{{fullname|}}}|{{!}}- | ||
! 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|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}| | ||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{fullname-title|Full name}}}''': | '''{{{fullname-title|Full name}}}''': | ||
Line 64: | Line 64: | ||
{{{children|}}} | {{{children|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{ | {{#if:{{{species|}}}|{{!}}- | ||
! 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|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}| | ||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
'''{{{species-title|Species}}}''': | '''{{{species-title|Species}}}''': | ||
Line 103: | Line 103: | ||
{{{eyes|}}} | {{{eyes|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{ | {{#if:{{{affiliation|}}}|{{!}}- | ||
! 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|}}}{{{rank|}}}{{{sn|}}}{{{notable|}}}{{{misc|}}}| | ||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
'''{{{affiliation-title|Affiliation}}}''': | '''{{{affiliation-title|Affiliation}}}''': | ||
Line 144: | Line 144: | ||
<pre> | <pre> | ||
{{Character infobox | {{Character infobox | ||
|variant= <specify Cov, Ban, Human or Forerunner. No value makes infobox grey> | |variant=<specify Cov, Ban, Human or Forerunner. No value makes infobox grey> | ||
|name= | |name= | ||
|image= | |image= | ||
|fullname= | |||
|homeworld= | |homeworld= | ||
|birth= | |birth= | ||
Line 162: | Line 163: | ||
|eyes= | |eyes= | ||
|affiliation= | |affiliation= | ||
|rank= <see below>* | |rank=<see below>* | ||
|sn= <exclusive for human>** | |sn=<exclusive for human>** | ||
|notable= | |notable= | ||
|misc= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 174: | Line 176: | ||
The following allows you to alter the title of the sub-sections: | The following allows you to alter the title of the sub-sections: | ||
<pre> | <pre> | ||
|color= | |||
|color2= | |||
|BG= | |||
|nameBG= | |||
|imageBG= | |imageBG= | ||
|sectionBG= | |sectionBG= | ||
|fieldBG= | |fieldBG= | ||
| | |lineBG= | ||
|section1-title= | |section1-title= | ||
|section2-title= | |section2-title= | ||
|section3-title= | |||
| | |||
</pre> | </pre> | ||
[[Category:Updated infoboxes]]</noinclude> | [[Category:Updated infoboxes]]</noinclude> |
Revision as of 00:31, 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 allows you to alter the title of the sub-sections:
|color= |color2= |BG= |nameBG= |imageBG= |sectionBG= |fieldBG= |lineBG= |section1-title= |section2-title= |section3-title=