Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
Line 33: Line 33:
}}
}}


{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}{{#if:{{{nocat|{{NAMESPACE}}}}}||{{#switch:{{#sub:{{lc:{{{gender|}}}}}|0|4}}
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}{{#if:{{{nocat|{{NAMESPACE}}}}}||
{{#switch:{{#sub:{{lc:{{{gender|}}}}}|0|4}}
|male=[[Category:Male characters]]
|male=[[Category:Male characters]]
|fema=[[Category:Female characters]]
|fema=[[Category:Female characters]]
|non-|nonb=[[Category:Non-binary characters]]
|nonb|non-=[[Category:Non-binary characters]]
|gend|none|n/a=[[Category:Genderless characters]]
|n/a|none|gend=[[Category:Genderless characters]]
||?|??|???|????|unkn|unsp=[[Category:Characters of unspecified gender]]
||?|??|???|????|unkn|unsp=[[Category:Characters of unspecified gender]]
}}}}</includeonly><noinclude>{{clear}}
}}}}</includeonly><noinclude>{{clear}}

Revision as of 17:32, February 24, 2024

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=
|pronouns=
|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)