Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(19 intermediate revisions by 3 users not shown)
Line 7: Line 7:
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}}}
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}}}
{{Infobox|entry|title={{{birth-title|Born}}}|content={{{birth|}}}}}
{{Infobox|entry|title={{{birth-title|Born}}}|content={{{birth|}}}}}
{{Infobox|entry|title={{{death-title|Died}}}|content={{{death|}}}}}
{{Infobox|entry|title={{{death-title|Died}}}|content={{{death|}}} {{{aged|{{Infobox/aged|{{{birth|}}}|{{{death|}}}}}}}}}}
{{Infobox|entry|title={{{causeofdeath-title|Cause of death}}}|content={{{causeofdeath|}}}}}
{{Infobox|entry|title={{{causeofdeath-title|Cause of death}}}|content={{{causeofdeath|}}}}}
{{Infobox|entry|title={{{parents-title|Parents}}}|content={{{parents|}}}}}
{{Infobox|entry|title={{{parents-title|Parents}}}|content={{{parents|}}}}}
Line 25: Line 25:
}}
}}


{{Infobox|section|title=Political and military information|entries=
{{Infobox|section|title={{{section3-title|Political and military information}}}|entries=
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}}}
Line 33: Line 33:
}}
}}


{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}{{#if:{{{nocat|{{NAMESPACE}}}}}||{{#if:{{#pos:{{lc:{{{gender|}}}}}|female}}|[[Category:Female characters]]|{{#if:{{#pos:{{lc:{{{gender|}}}}}|male}}|[[Category:Male characters]]}}}}}}</includeonly><noinclude>{{clear}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Character}}}}}{{#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>

Latest revision as of 11:10, June 14, 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)