Template:Infobox person: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<table class="infobox" style="width:22em; font-size:90%; line-height:1.4em;"> | <table class="infobox" style="width:22em; font-size:90%; line-height:1.4em;"> | ||
<!-- Name --> | <!-- Name --> | ||
{{#if: {{{name|}}} | | {{#if: {{{name|}}} | | ||
| Line 18: | Line 19: | ||
<tr> | <tr> | ||
<th>Birth date</th> | <th>Birth date</th> | ||
<td>{{{birth_date}}}</td> | <td> | ||
{{#ifexist:Module:Age| | |||
{{#invoke:Age|age|{{{birth_date}}}}}| | |||
<!-- fallback: calculate age using PHP --> | |||
{{#if: {{{birth_date_display|}}} | {{{birth_date_display}}} | {{{birth_date}}} }} | |||
}} | |||
</td> | |||
</tr> | </tr> | ||
}} | }} | ||
<!-- | <!-- Known for --> | ||
{{#if: {{{known_for|}}} | | {{#if: {{{known_for|}}} | | ||
<tr> | <tr> | ||
<th> | <th>Known for</th> | ||
<td>{{{known_for}}}</td> | <td>{{{known_for}}}</td> | ||
</tr> | </tr> | ||
| Line 93: | Line 100: | ||
</tr> | </tr> | ||
}} | }} | ||
</table> | </table> | ||