Jump to content

Template:Infobox person: Difference between revisions

From WikiGence
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 -->
<!-- Known for -->
{{#if: {{{known_for|}}} |
{{#if: {{{known_for|}}} |
<tr>
<tr>
   <th>known for</th>
   <th>Known for</th>
   <td>{{{known_for}}}</td>
   <td>{{{known_for}}}</td>
</tr>
</tr>
Line 93: Line 100:
</tr>
</tr>
}}
}}
</table>
</table>

Revision as of 06:10, 26 October 2025