Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}") |
m (Test) |
||
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|{{#iferror:{{age|{{#sub:{{{began}}}|{{#expr:{{#pos:{{{began}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{began}}}|]}} - {{#pos:{{{began}}}|{{!}}}} - 1}}}}|{{#sub:{{{ended}}}|{{#expr:{{#pos:{{{ended}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{ended}}}|]}} - {{#pos:{{{ended}}}|{{!}}}} - 1}}}}}}||(aged {{age|{{#sub:{{{began}}}|{{#expr:{{#pos:{{{began}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{began}}}|]}} - {{#pos:{{{began}}}|{{!}}}} - 1}}}}|{{#sub:{{{ended}}}|{{#expr:{{#pos:{{{ended}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{ended}}}|]}} - {{#pos:{{{ended}}}|{{!}}}} - 1}}}}}})}}}}}}} | ||
{{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|}}}}} |
Revision as of 11:47, June 10, 2024
Character infobox | |
---|---|
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)