Jump to content

Template:CharacterPanel: Difference between revisions

From Altierrapedia
No edit summary
Tag: Reverted
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="myinfo" style="width: 250px; border-collapse: collapse;"
{| class="sideinfo"
! colspan="2" style="text-align:center; background-color:#aac7e9; font-size:130%; padding:0.5em;" | {{{name}}}
 
! colspan="2" style="text-align:center;background-color:#aac7e9;font-size:130%;padding:0.5em;" | {{{name}}}
 
|-
|-
{{#if:{{{image|}}}|
 
| colspan="2" style="text-align:center; padding:0.5em;" | [[File:{{{image|Default_placeholder.png}}}|200px|center]]
{{#if:{{{image|}}}
|<tr><td colspan="2" style="padding:0.5em;">[[File:{{{image|Default_placeholder.png}}}|200px|center]]</td></tr>
}}
 
|-
|-
}}
! Race
! Race
| {{{race}}}
| {{{race}}}
|-
|-
{{#if:{{{aka|}}}|
 
! Other names
{{#if:{{{aka|}}}
| {{{aka}}}
|<tr><th>Other names</th><td>{{{aka}}}</td></tr>
}}
 
|-
|-
}}
! Born
! Born
| {{{born}}}
| {{{born}}}
|-
|-
{{#if:{{{died|}}}|
 
! Died
{{#if:{{{died|}}}
| {{{died}}}
|<tr><th>Died</th><td>{{{died}}}</td></tr>
|-
! Cause of death
| {{{cause}}}
|-
}}
}}
{{#if: {{{born|}}} |
 
! {{#if: {{{died|}}} | Age at death | Age in novel }}
{{#if:{{{born|}}}
| {{#if: {{{died|}}}  
|<tr><th>{{#if:{{{died|}}}|Age at death|Age in novel}}</th><td>
     | {{#expr: {{{died}}} - {{{born}}} }}  
{{#if:{{{died|}}}
     | {{#ifexpr: {{{born}}} > 1800  
     | {{#expr: {{{died}}} - {{{born}}} }}
         | {{#expr: 2025 - {{{born}}} }}  
     | {{#ifexpr: {{{born}}} > 1800
         | {{#expr: 556 - {{{born}}} }}  
         | {{#expr: 2025 - {{{born}}} }}
         | {{#expr: 556 - {{{born}}} }}
       }}
       }}
   }}
   }}</td></tr>
}}
 
|-
|-
}}
! Occupation/rank
! Occupation/rank
| {{{occupation}}}
| {{{occupation}}}
|-
|-
! Family
! Family
| {{{family}}}
| {{{family}}}
|}
|}

Latest revision as of 04:43, 21 February 2026

{{{name}}}
Race {{{race}}}
Born {{{born}}}
Occupation/rank {{{occupation}}}
Family {{{family}}}