Template:Infobox Character: Difference between revisions
The Emma M. Lion Wiki
OrangeJedi (talk | contribs) finished infobox overhaul |
OrangeJedi (talk | contribs) fixed age calculation |
||
Line 13: | Line 13: | ||
| {{#if:{{{birthdate|}}}|'''Born:''' {{{birthdate}}} - }} | | {{#if:{{{birthdate|}}}|'''Born:''' {{{birthdate}}} - }} | ||
| {{#if:{{{deathdate|}}}|'''Died:''' {{{deathdate}}} }} | | {{#if:{{{deathdate|}}}|'''Died:''' {{{deathdate}}} }} | ||
| {{#if:{{{ | | {{#if:{{{deathdate|}}}|([[#expr: {{#time: {{{deathdate}}}|%s}} - {{#time: {{{birthdate}}}|%s}} |div=31536000]] years)}} | ||
| {{#if:!{{{deathdate|}}}|([[#expr: {{#time: 1884-08-01|%s}} - {{#time: {{{birthdate}}}|%s}} |div=31536000]] years)}} | |||
|- | |- | ||
| {{#if:{{{age_year|}}}|'''Age:''' {{{age_year}}}}} | | {{#if:{{{age_year|}}}|'''Age:''' {{{age_year}}}}} |
Revision as of 19:18, 27 December 2024
Use this info box for all characters in the series. Each parameter is optional, and will only be displayed if provided.
([[#expr: Error: Invalid time. - Error: Invalid time. |div=31536000]] years) | |||
Parameters
- name: The name of the character (mandatory for the title, but can be left empty).
- image: The image file for the character (e.g., "CharacterImage.png"). Optional.
- caption: A caption for the image. Optional.
- alias: Any known aliases of the character. Optional.
- birthdate: The birth date of the character. Optional.
- deathdate: The death date of the character. Optional.
- age_year: The age of the character. Use only if the birthday is not known.
- resides: The location where the character resides. Optional.
- occupation: The character's occupation. Optional.
- family: Information about the character's family. Optional.
- notable_relations: Notable relationships the character has (e.g., friends, enemies). Optional.
- first_appearance: The first appearance of the character in the series. Optional.
- significant_events: Key events that are notable in the character's life. Optional.