Template:Infobox Character: Difference between revisions

The Emma M. Lion Wiki
No edit summary
added age template
Line 11: Line 11:
| {{#if:{{{alias|}}}|'''Alias:''' {{{alias}}}}}
| {{#if:{{{alias|}}}|'''Alias:''' {{{alias}}}}}
|-
|-
| {{#if:{{{birthdate|}}}|'''Born:''' {{{birthdate}}} - }}
| {{#if:{{{birthdate|}}}| {{age|birthdate={{{birthdate}}}|deathdate={{{deathdate}}}}} }}
| {{#if:{{{deathdate|}}}|'''Died:''' {{{deathdate}}} }}
| {{#if:{{{deathdate|}}}|([[#expr: {{#time: {{{deathdate}}}|%s}} - {{#time: {{{birthdate}}}|%s}} |div=31536000]] years)| {{{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 02:19, 28 December 2024

Use this info box for all characters in the series. Each parameter is optional, and will only be displayed if provided.


{{{name}}}

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.