Template:Character infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Test) |
mNo edit summary |
||
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|}}} {{{aged|{{#iferror:{{age|{{#sub:{{{ | {{Infobox|entry|title={{{death-title|Died}}}|content={{{death|}}} {{{aged|{{#if:{{{birth|}}}|{{#if:{{{death|}}}|{{#iferror:{{age|{{#sub:{{{birth}}}|{{#expr:{{#pos:{{{birth}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{birth}}}|]}} - {{#pos:{{{birth}}}|{{!}}}} - 1}}}}|{{#sub:{{{death}}}|{{#expr:{{#pos:{{{death}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{death}}}|]}} - {{#pos:{{{death}}}|{{!}}}} - 1}}}}}}||(aged {{age|{{#sub:{{{birth}}}|{{#expr:{{#pos:{{{birth}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{birth}}}|]}} - {{#pos:{{{birth}}}|{{!}}}} - 1}}}}|{{#sub:{{{death}}}|{{#expr:{{#pos:{{{death}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{death}}}|]}} - {{#pos:{{{death}}}|{{!}}}} - 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:54, 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)