Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
m (oops) |
m (Fix for section headers) |
||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|slategray}}}" {{!}} {{{section1-title|Biographical information}}}}} | ! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=slateblue|Human=cornflowerblue|#default=slategray}}}}}" {{!}} {{{section1-title|Biographical information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{fullname|}}}| | {{#if:{{{fullname|}}}| | ||
Line 71: | Line 71: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|slategray}}}" {{!}} {{{section2-title|Political and military information}}}}} | ! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Cov=slateblue|Human=cornflowerblue|#default=slategray}}}}}" {{!}} {{{section2-title|Political and military information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
Line 78: | Line 78: | ||
{{!}} 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;" {{!}} | {{!}} 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|}}} | {{{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:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} 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;" {{!}} |
Revision as of 15:42, October 12, 2011
Character infobox | |
---|---|
Biographical information | |
Political and military information | |
[Source] |
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= |sn= <exclusive for human>** |notable= }}
- ** 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=