Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing | {| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:10px; margin-right:0px; padding:2px; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=royalblue|#default=lightslategray}}}}};" | ||
{{!}}- | {{!}}- | ||
! 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|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="font-size: | ! class="infoboxsubheading" colspan="2" style="font-size:110%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=slateblue|Human=cornflowerblue|#default=slategray}}}}}" {{!}} {{{section1-title|Biographical information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{fullname|}}}| | {{#if:{{{fullname|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px; width:100%;" {{!}} | ||
'''{{{fullname-title|Full name}}}''': | '''{{{fullname-title|Full name}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{fullname|}}} | {{{fullname|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{homeworld|}}}| | {{#if:{{{homeworld|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{homeworld-title|Birthplace}}}''': | '''{{{homeworld-title|Birthplace}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{homeworld|}}} | {{{homeworld|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{birth|}}}| | {{#if:{{{birth|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{birth-title|Born}}}''': | '''{{{birth-title|Born}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{birth|}}} | {{{birth|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{death|}}}| | {{#if:{{{death|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{death-title|Died}}}''': | '''{{{death-title|Died}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{death|}}} | {{{death|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{species-title|Species}}}''': | '''{{{species-title|Species}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{species|}}} | {{{species|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{gender|}}}| | {{#if:{{{gender|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{gender-title|Gender}}}''': | '''{{{gender-title|Gender}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{gender|}}} | {{{gender|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{height-title|Height}}}''': | '''{{{height-title|Height}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{height|}}} | {{{height|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{mass|}}}| | {{#if:{{{mass|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{mass-title|Mass}}}''': | '''{{{mass-title|Mass}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{mass|}}} | {{{mass|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hair|}}}| | {{#if:{{{hair|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{hair-title|Hair color}}}''': | '''{{{hair-title|Hair color}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{hair|}}} | {{{hair|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{eyes|}}}| | {{#if:{{{eyes|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{eyes-title|Eye color}}}''': | '''{{{eyes-title|Eye color}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{eyes|}}} | {{{eyes|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="font-size: | ! class="infoboxsubheading" colspan="2" style="font-size:110%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=slateblue|Human=cornflowerblue|#default=slategray}}}}}" {{!}} {{{section2-title|Political and military information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{affiliation-title|Affiliation}}}:''' | '''{{{affiliation-title|Affiliation}}}:''' | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{affiliation|}}} | {{{affiliation|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{rank|}}}| | {{#if:{{{rank|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{rank-title|Rank}}}''': | '''{{{rank-title|Rank}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{rank|}}} | {{{rank|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{sn|}}}| | {{#if:{{{sn|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{sn-title|[[Service number|Service number]]}}}:''' | '''{{{sn-title|[[Service number|Service number]]}}}:''' | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{sn|}}} | {{{sn|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{notable-title|Notable info}}}:''' | '''{{{notable-title|Notable info}}}:''' | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{notable|}}} | {{{notable|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{misc|}}}| | {{#if:{{{misc|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
'''{{{misc-title|Miscellaneous}}}:''' | '''{{{misc-title|Miscellaneous}}}:''' | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size: | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}} | ||
{{{misc|}}} | {{{misc|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}-}} | {{!}}-}} | ||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size: | | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:1px; line-height:10px" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== |
Revision as of 12:49, July 20, 2014
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 or Human. no value makes infobox grey> |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=