Template:Infobox-poker-player: Difference between revisions
No edit summary |
No edit summary |
||
| Line 42: | Line 42: | ||
{{#if:{{{birth-date|}}}| | {{#if:{{{birth-date|}}}| | ||
{{# | {{#ifeq:{{{died|}}}|true| | ||
<tr> | <tr> | ||
<th>Age</th> | <th>Age</th> | ||
<td>{{#time:F j, Y|{{{birth-date}}}}}</td> | <td>{{#time:F j, Y|{{{birth-date}}}}}</td> | ||
</tr> | |||
| | |||
<tr> | |||
<th>Age</th> | |||
<td> | |||
{{#time:F j, Y|{{{birth-date}}}}} | |||
(age {{#expr: | |||
{{#time:Y}} - {{#time:Y|{{{birth-date}}}}} | |||
- {{#ifexpr: | |||
{{#time:md}} < {{#time:md|{{{birth-date}}}}} | 1 | 0 }} | |||
}}) | |||
</td> | |||
</tr> | </tr> | ||
}} | }} | ||