Template:Infobox Character: Difference between revisions

The Emma M. Lion Wiki
added template date
started to move over to new infobox
Line 1: Line 1:
<noinclude>
<noinclude>
Use this info box for all characters in the series. Each parameter is optional, and will only be displayed if provided.
Use this info box for all characters in the series. Each parameter is optional, and will only be displayed if provided.
</noinclude>
</noinclude><includeonly>
{| class="infobox" style="width: 23em; text-align: left; border: 1px solid #ddd; background-color: #f9f9f9; font-size: 90%; float: right;"
{{Infobox|title={{{name}}}|
|+ align="center" style="font-size: 120%; font-weight: bold;" | {{{name}}}
{{#if:{{{alias|}}}|{{IBR|Alias|{{{alias}}}}}}}
|-
{{#if:{{{gender|}}}|{{IBR|Gender|{{{gender}}}}}}}
| align="center" colspan="2" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px|thumb|{{{caption|}}}]]}}
{{#if:{{{resides|}}}|{{IBR|Resides|{{{resides}}}}}}}
|-
}}</includeonly><noinclude>
| {{#if:{{{alias|}}}|'''Alias:''' {{{alias}}}}}
|-
| align="center" | {{#if:{{{birthday|}}}|&nbsp;{{Age|birthday={{{birthday}}}|deathdate={{{deathdate|}}}}}}}
|-
| {{#if:{{{age_year|}}}|'''Age:''' {{{age_year}}}}}
|-
| {{#if:{{{gender|}}}|'''Gender:''' {{{gender}}}}}
|-
| {{#if:{{{resides|}}}|'''Resides:''' {{{resides}}}}}
|-
| {{#if:{{{occupation|}}}|'''Occupation:''' {{{occupation}}}}}
|-
| {{#if:{{{family|}}}|'''Family:''' {{{family}}}}}
|-
| {{#if:{{{notable_relations|}}}|'''Notable Relations:''' {{{notable_relations}}}}}
|-
| {{#if:{{{first_appearance|}}}|<p style="margin: 0;">'''First Appearance:''' {{{first_appearance}}}</p> }}
|-
| {{#if:{{{first_mentioned|}}}|<p style="margin: 0;">'''First Mentioned:''' {{{first_mentioned}}}</p> }}
|-
| {{#if:{{{lives_in|}}}|'''Lives In:''' {{{lives_in}}}}}
|}
<noinclude>
<templatedata>
<templatedata>
{
{
Line 127: Line 104:
}
}
</templatedata>
</templatedata>
'''Example'''
<pre>
</pre>
{{Infobox Character
| name            = Emma M. Lion
| alias          =
| gender          =  Female
| birthday        = 1863-01-13
| family      = Declan Lion (father), Mirabel Lion (mother), [[Arabella Spencer]] (cousin), [[Damian Spencer]] (cousin), [[Lady Eugenia Spencer|Aunt Eugenia]] (aunt)
| first_appearance= {{Journal ref text|3|5|1883}}
| occupation =
| resides = [[Lapis Lazuli House]]
}}
'''old'''
<pre>
{| class="infobox" style="width: 23em; text-align: left; border: 1px solid #ddd; background-color: #f9f9f9; font-size: 90%; float: right;"
|+ align="center" style="font-size: 120%; font-weight: bold;" | {{{name}}}
|-
| align="center" colspan="2" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px|thumb|{{{caption|}}}]]}}
|-
| {{#if:{{{alias|}}}|'''Alias:''' {{{alias}}}}}
|-
| align="center" | {{#if:{{{birthday|}}}|&nbsp;{{Age|birthday={{{birthday}}}|deathdate={{{deathdate|}}}}}}}
|-
| {{#if:{{{age_year|}}}|'''Age:''' {{{age_year}}}}}
|-
| {{#if:{{{gender|}}}|'''Gender:''' {{{gender}}}}}
|-
| {{#if:{{{resides|}}}|'''Resides:''' {{{resides}}}}}
|-
| {{#if:{{{occupation|}}}|'''Occupation:''' {{{occupation}}}}}
|-
| {{#if:{{{family|}}}|'''Family:''' {{{family}}}}}
|-
| {{#if:{{{notable_relations|}}}|'''Notable Relations:''' {{{notable_relations}}}}}
|-
| {{#if:{{{first_appearance|}}}|<p style="margin: 0;">'''First Appearance:''' {{{first_appearance}}}</p> }}
|-
| {{#if:{{{first_mentioned|}}}|<p style="margin: 0;">'''First Mentioned:''' {{{first_mentioned}}}</p> }}
|-
| {{#if:{{{lives_in|}}}|'''Lives In:''' {{{lives_in}}}}}
|}
</pre>
</noinclude>
</noinclude>

Revision as of 16:49, 3 February 2025

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

Infobox for characters in the series. Displays information such as name, image, alias, birthday, and more.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

The name of the character (mandatory for the title, but can be left empty).

Stringrequired
Imageimage

The image file for the character (e.g., 'CharacterImage.png').

Stringoptional
Captioncaption

A caption for the image.

Stringoptional
Aliasalias

Any known aliases of the character. Optional.

Stringoptional
Birthdaybirthday

The birth date of the character. Optional.

Stringoptional
Death Datedeathdate

The death date of the character. Optional.

Stringoptional
Ageage_year

The age of the character. Use only if the birthday is not known.

Stringoptional
Residesresides

The location where the character resides.

Stringoptional
Occupationoccupation

The character's occupation.

Stringoptional
Familyfamily

Information about the character's family.

Stringoptional
Notable Relationsnotable_relations

Notable relationships the character has (e.g., friends, enemies).

Stringoptional
First Appearancefirst_appearance

The first appearance of the character in the series.

Stringoptional
First Mentionedfirst_mentioned

The first mention of the character in the series.

Stringoptional
Significant Eventssignificant_events

Key events that are notable in the character's life.

Stringoptional
Lives Inlives_in

Where the character lives.

Stringoptional

Example


Emma M. Lion
Gender Female
Resides Lapis Lazuli House


old

{| class="infobox" style="width: 23em; text-align: left; border: 1px solid #ddd; background-color: #f9f9f9; font-size: 90%; float: right;"
|+ align="center" style="font-size: 120%; font-weight: bold;" | {{{name}}}
|-
| align="center" colspan="2" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px|thumb|{{{caption|}}}]]}}
|-
| {{#if:{{{alias|}}}|'''Alias:''' {{{alias}}}}}
|-
| align="center" | {{#if:{{{birthday|}}}| {{Age|birthday={{{birthday}}}|deathdate={{{deathdate|}}}}}}}
|-
| {{#if:{{{age_year|}}}|'''Age:''' {{{age_year}}}}}
|-
| {{#if:{{{gender|}}}|'''Gender:''' {{{gender}}}}}
|-
| {{#if:{{{resides|}}}|'''Resides:''' {{{resides}}}}}
|-
| {{#if:{{{occupation|}}}|'''Occupation:''' {{{occupation}}}}}
|-
| {{#if:{{{family|}}}|'''Family:''' {{{family}}}}}
|-
| {{#if:{{{notable_relations|}}}|'''Notable Relations:''' {{{notable_relations}}}}}
|-
| {{#if:{{{first_appearance|}}}|<p style="margin: 0;">'''First Appearance:''' {{{first_appearance}}}</p> }} 
|-
| {{#if:{{{first_mentioned|}}}|<p style="margin: 0;">'''First Mentioned:''' {{{first_mentioned}}}</p> }}
|-
| {{#if:{{{lives_in|}}}|'''Lives In:''' {{{lives_in}}}}}
|}