Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "px;"" to "px"") |
m (Text replacement - "}}};"" to "}}}"") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Ban=993333|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}} | {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Ban=993333|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}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#f0f0f0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}} | ! style="background:{{{imageBG|#f0f0f0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- |
Revision as of 23:17, September 14, 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=