Template:Infobox character: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 57: Line 57:
{{pipe}}-
{{pipe}}-
}}
}}
{{#if: {{{pob|}}}|
{{#if: {{{pob|}}}|
{{pipe}}-
{{pipe}}-
Line 70: Line 69:
!style="text-align:right;"{{pipe}}Date of death:
!style="text-align:right;"{{pipe}}Date of death:
{{pipe}}[[DOD::{{{dod|}}}]]
{{pipe}}[[DOD::{{{dod|}}}]]
{{#if: {{{dob|}}}|
{{#if: {{{dob|}}}|
{{pipe}}-
{{pipe}}-
!style="text-align:right;"{{pipe}}Age at death:
!style="text-align:right;"{{pipe}}Age at death:
{{pipe}}
{{pipe}}
 
{{#expr: {{#time: Y |{{{dod}}}}} - {{#time: Y |{{{dob}}} }} }}
{{#expr: {{#time: Y |{{{dod}}}}} - {{#time: Y |{{{dob}}}}} }}
 
}}
}}
|
|
{{#if: {{{dob|}}}|
{{pipe}}-
{{pipe}}-
!style="text-align:right;"{{pipe}}Age now:
!style="text-align:right;"{{pipe}}Age now:
{{pipe}}{{age|{{#time: Y |{{{dob}}} }}
{{pipe}}{{age|{{#time: Y |{{{dob}}} }}
}}
}}
 
}}
 
 
{{#if: {{{home|}}}|
{{#if: {{{home|}}}|
{{pipe}}-
{{pipe}}-