Template:Infobox Character: Difference between revisions

The Emma M. Lion Wiki
No edit summary
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;">
<div style="border:1px solid #ccc; background-color:#f9f9f9; width:300px; padding:10px; float:right; margin-left:10px;">
   <strong>{{{name|Unknown}}}</strong>
   <strong>{{{name|Unknown}}}</strong>
  <br><br>
  {{#if: {{{image}}} | <img src="{{{image}}}" alt="{{{name}}}" style="width:100%; max-width:250px;"> | }}
  <em>{{{caption|No caption provided}}}</em>
  <br><br>
   <table style="width:100%; font-size:90%; border:none;">
   <table style="width:100%; font-size:90%; border:none;">
     {{#if: {{{full_name}}} | <tr><td><strong>Full Name</strong></td><td>{{{full_name}}}</td></tr> | }}
     <tr><td><strong>Alias</strong></td><td>{{{alias|Unknown}}}</td></tr>
    {{#if: {{{alias}}} | <tr><td><strong>Alias</strong></td><td>{{{alias}}}</td></tr> | }}
     <tr><td><strong>Occupation</strong></td><td>{{{age|Unknown}}}</td></tr>
     {{#if: {{{occupation}}} | <tr><td><strong>Occupation</strong></td><td>{{{occupation}}}</td></tr> | }}
     <tr><td><strong>Related To</strong></td><td>{{{related_to|Unknown}}}</td></tr>
   
     <tr><td><strong>First Appearance</strong></td><td>{{{first_appearance|Unknown}}}</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: 1884-8-1}} | (Age: {{#expr: {{#time: Y}} - {{#time: Y|{{{birth_date}}}}}}}) | }}
      </td></tr>  
     | }}
   
    {{#if: {{{related_to}}} | <tr><td><strong>Related To</strong></td><td>{{{related_to}}}</td></tr> | }}
    {{#if: {{{first_appearance}}} | <tr><td colspan="2"><strong>First Appearance</strong>: {{{first_appearance}}}</td></tr> | }}
   </table>
   </table>
  {{#if: {{{footer}}} | <br><br><em>{{{footer}}}</em> | }}
</div>
</div>

Revision as of 03:43, 24 December 2024

 Unknown
AliasUnknown
OccupationUnknown
Related ToUnknown
First AppearanceUnknown