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}}}}}||{{#rmatch:{{{gender|}}}|Female|[[Category:Female characters]]|{{#rmatch:{{{gender|}}}|Male|[[Category:Male characters]]|{{#rmatch:{{{gender|}}}|Non-?binary|[[Category:Non-binary characters]]|{{#rmatch:{{{gender|}}}|N\/A{{!}}None{{!}}Genderless|[[Category:Genderless characters]]|{{#rmatch:{{{gender|}}}|^\?*${{!}}Unknown{{!}}Unspecified|[[Category:Characters of unspecified gender]]|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}}}</includeonly><noinclude>{{clear}}
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}{{#if:{{{nocat|{{NAMESPACE}}}}}||{{#rmatch:{{{gender|}}}|Female|[[Category:Female characters]]|{{#rmatch:{{{gender|}}}|Male|[[Category:Male characters]]|{{#rmatch:{{{gender|}}}|Non-?binary|[[Category:Non-binary characters]]|{{#rmatch:{{{gender|}}}|N\/A{{!}}None{{!}}Genderless|[[Category:Genderless characters]]|{{#rmatch:{{{gender|}}}|^\?*${{!}}Unknown{{!}}Unspecified|[[Category:Characters of unspecified gender]]|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}}}</includeonly><noinclude>{{Doc/Template}} __NOTOC__ [[Category:Infobox templates]]</noinclude>
==Usage==
Copy and paste the following into the article and fill in the fields.
 
<pre>
{{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=
}}
</pre>
 
:<nowiki>*</nowiki> <small>Note: For Forerunner characters when identifying rates and ranks, use the following format: <code><nowiki>RANK-TITLE ([[Rate|R]]: RATE-GROUP)</nowiki></code></small>
:<nowiki>**</nowiki> <small>Note: For those with [[UNSCMID]], use the following format: <code><nowiki>SN-NUMBER ([[UNSCMID]]: UNSCMID-NUMBER)</nowiki></code></small>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 10:39, March 10, 2024

Character infobox
 
vde
Template Documentation

Description

This template is used to insert an infobox for use on articles about characters.

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)