Template:Infobox Character: Difference between revisions
The Emma M. Lion Wiki
OrangeJedi (talk | contribs) No edit summary |
OrangeJedi (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
< | <div style="border:1px solid #ccc; background-color:#f9f9f9; width:300px; padding:10px; float:right; margin-left:10px;"> | ||
{{ | <strong>{{{name}}}</strong> | ||
< | <br><br> | ||
{{ | {{#if: {{{image}}} | <img src="{{{image}}}" alt="{{{name}}}" style="width:100%; max-width:250px;"> | }} | ||
| | <em>{{{caption}}}</em> | ||
<br><br> | |||
| | <table style="width:100%; font-size:90%; border:none;"> | ||
{{#if: {{{full_name}}} | <tr><td><strong>Full Name</strong></td><td>{{{full_name}}}</td></tr> | }} | |||
| | {{#if: {{{alias}}} | <tr><td><strong>Alias</strong></td><td>{{{alias}}}</td></tr> | }} | ||
| | {{#if: {{{species}}} | <tr><td><strong>Species</strong></td><td>{{{species}}}</td></tr> | }} | ||
| | {{#if: {{{gender}}} | <tr><td><strong>Gender</strong></td><td>{{{gender}}}</td></tr> | }} | ||
| | {{#if: {{{occupation}}} | <tr><td><strong>Occupation</strong></td><td>{{{occupation}}}</td></tr> | }} | ||
| | |||
| | <!-- Birth and Age Display --> | ||
| | {{#if: {{{birth_date}}} | | ||
| | <tr><td><strong>Birth Date</strong></td> | ||
<td> | |||
| | {{{birth_date}}} | ||
{{#if: {{{death_date}}} | - {{{death_date}}} | }} | |||
| | |||
| | <!-- Calculate Age --> | ||
| | {{#ifeq: {{#time: Y|{{{birth_date}}}}} | {{#time: Y|1884-8-1}} | (Age: {{#expr: {{#time: Y}} - {{#time: Y|{{{birth_date}}}}}}}) | }} | ||
| | </td></tr> | ||
| | | }} | ||
| | |||
{{#if: {{{status}}} | <tr><td><strong>Status</strong></td><td>{{{status}}}</td></tr> | }} | |||
| footer | {{#if: {{{related_to}}} | <tr><td><strong>Related To</strong></td><td>{{{related_to}}}</td></tr> | }} | ||
}} | {{#if: {{{first_appearance}}} | <br><strong>First Appearance</strong>: {{{first_appearance}}} | }} | ||
</table> | |||
{{#if: {{{footer}}} | <br><br><em>{{{footer}}}</em> | }} | |||
</div> |
Revision as of 01:24, 24 December 2024
{{{name}}}
<img src="{{{image}}}" alt="{{{name}}}" style="width:100%; max-width:250px;"> {{{caption}}}
First Appearance: {{{first_appearance}}}
Full Name | {{{full_name}}} |
Alias | {{{alias}}} |
Species | {{{species}}} |
Gender | {{{gender}}} |
Occupation | {{{occupation}}} |
Birth Date |
{{{birth_date}}} - {{{death_date}}} |
Status | {{{status}}} |
Related To | {{{related_to}}} |
{{{footer}}}