Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" style="float:right; clear:right; width: | {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:300px; margin:.5em; padding:2px; border-radius: 0 0 .5em .5em; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}};" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov= | ! 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 71: | Line 71: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov= | ! 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|Political and military information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
Line 110: | Line 110: | ||
Copy and paste the following into the article and fill in the fields. | Copy and paste the following into the article and fill in the fields. | ||
<pre> | <pre> | ||
{{Character infobox|variant= <specify Cov or | {{Character infobox|variant= <specify Cov, Human or Forerunner. No value makes infobox grey> | ||
|name= | |name= | ||
|image= | |image= |
Revision as of 01:57, February 9, 2019
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 Cov, Human or Forerunner. No value makes infobox grey> |name= |image= |homeworld= |birth= |death= |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 allows you to alter the title of the sub-sections:
|imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |color1= |color2= |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=