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}}}</strong>
   <strong>{{{name|Unknown}}}</strong>
   <br><br>
   <br><br>
   {{#if: {{{image}}} | <img src="{{{image}}}" alt="{{{name}}}" style="width:100%; max-width:250px;"> | }}
   {{#if: {{{image}}} | <img src="{{{image}}}" alt="{{{name}}}" style="width:100%; max-width:250px;"> | }}
   <em>{{{caption}}}</em>
   <em>{{{caption|No caption provided}}}</em>
   <br><br>
   <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> | }}
     {{#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: {{{alias}}} | <tr><td><strong>Alias</strong></td><td>{{{alias}}}</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> | }}
     {{#if: {{{occupation}}} | <tr><td><strong>Occupation</strong></td><td>{{{occupation}}}</td></tr> | }}
      
      
Line 19: Line 18:
          
          
         <!-- Calculate Age -->
         <!-- Calculate Age -->
         {{#ifeq: {{#time: Y|{{{birth_date}}}}} | {{#time: Y|1884-8-1}} | (Age: {{#expr: {{#time: Y}} - {{#time: Y|{{{birth_date}}}}}}}) | }}
         {{#ifeq: {{#time: Y|{{{birth_date}}}}} | {{#time: 1884-8-1}} | (Age: {{#expr: {{#time: Y}} - {{#time: Y|{{{birth_date}}}}}}}) | }}
       </td></tr>  
       </td></tr>  
     | }}
     | }}
      
      
    {{#if: {{{status}}} | <tr><td><strong>Status</strong></td><td>{{{status}}}</td></tr> | }}
     {{#if: {{{related_to}}} | <tr><td><strong>Related To</strong></td><td>{{{related_to}}}</td></tr> | }}
     {{#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}}} | }}
     {{#if: {{{first_appearance}}} | <tr><td colspan="2"><strong>First Appearance</strong>: {{{first_appearance}}}</td></tr> | }}
   </table>
   </table>
   {{#if: {{{footer}}} | <br><br><em>{{{footer}}}</em> | }}
   {{#if: {{{footer}}} | <br><br><em>{{{footer}}}</em> | }}
</div>
</div>

Revision as of 01:37, 24 December 2024

 Unknown
 

<img src="{{{image}}}" alt="{{{name}}}" style="width:100%; max-width:250px;"> No caption provided

Full Name{{{full_name}}}
Alias{{{alias}}}
Occupation{{{occupation}}}
Birth Date
       {{{birth_date}}}
       - {{{death_date}}}
       
       
Related To{{{related_to}}}
First Appearance: {{{first_appearance}}}
 

{{{footer}}}