Template:Infobox Character: Difference between revisions

The Emma M. Lion Wiki
overhauled template
finished infobox overhaul
Line 1: Line 1:
<noinclude>
<noinclude>
{{Documentation
Use this info box for all characters in the series. Each parameter is optional, and will only be displayed if provided.
|description=Template for creating an info box for fictional characters from historical fiction.
|parameters={{param|name}}}
</noinclude>
</noinclude>
{{{name|}}}
{{{name|}}}
Line 9: Line 7:
|+ align="center" style="font-size: 120%; font-weight: bold;" | {{{name}}}
|+ align="center" style="font-size: 120%; font-weight: bold;" | {{{name}}}
|-
|-
| align="center" colspan="2" | [[File:{{{image|}}}|250px|thumb|{{{caption|}}}]]
| align="center" colspan="2" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px|thumb|{{{caption|}}}]]}}
|-
| {{#if:{{{alias|}}}|'''Alias:''' {{{alias}}}}}
|-
|-
| {{#if:{{{birthdate|}}}|'''Born:''' {{{birthdate}}} - }}
| {{#if:{{{birthdate|}}}|'''Born:''' {{{birthdate}}} - }}
| {{#if:{{{deathdate|}}}|'''Died:''' {{{deathdate}}} }}
| {{#if:{{{deathdate|}}}|'''Died:''' {{{deathdate}}} }}
| {{#if:{{{birthdate|}}}|([[#expr: {{#time: {{{deathdate|}}}|%Y-%m-%d}} }} - {{#time: 1884-08-01}} ]])}}
| {{#if:{{{birthdate|}}}|([[#expr: {{#time: {{{deathdate|}}}|%Y-%m-%d}} }} - {{#time: 1884-08-01}} ]])}}
|-
| {{#if:{{{age_year|}}}|'''Age:''' {{{age_year}}}}}
| {{#if:{{{age_year|}}}|'''Age:''' {{{age_year}}}}}
|-
|-
| '''Resides:''' {{{resides|}}}
| {{#if:{{{resides|}}}|'''Resides:''' {{{resides}}}}}
|-
|-
| '''Occupation:''' {{{occupation|}}}
| {{#if:{{{occupation|}}}|'''Occupation:''' {{{occupation}}}}}
|-
|-
| '''Family:''' {{{family|}}}
| {{#if:{{{family|}}}|'''Family:''' {{{family}}}}}
|-
|-
| '''Notable Relations:''' {{{notable_relations|}}}
| {{#if:{{{notable_relations|}}}|'''Notable Relations:''' {{{notable_relations}}}}}
|-
|-
| '''First Appearance:''' {{{first_appearance|}}}
| {{#if:{{{first_appearance|}}}|'''First Appearance:''' {{{first_appearance}}}}}
|-
|-
| '''Significant Events:''' {{{significant_events|}}}
| {{#if:{{{significant_events|}}}|'''Significant Events:''' {{{significant_events}}}}}
|}
|}
<noinclude>
<noinclude>
[[Category:Templates]]
== 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.
</noinclude>
</noinclude>

Revision as of 19:11, 27 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.