Template:Infobox-poker-player: Difference between revisions

No edit summary
No edit summary
Line 44: Line 44:
<tr>
<tr>
   <th>Age</th>
   <th>Age</th>
   <td>
   <td>{{#time:F j, Y|{{{birth-date}}}}} (age {{#expr:
    {{#time:F j, Y|{{{birth-date}}}}}
    {{#time:Y}} - {{#time:Y|{{{birth-date}}}}}
    (age {{#expr:
    - {{#ifexpr: {{#time:md}} < {{#time:md|{{{birth-date}}}}} | 1 | 0 }}
      {{#time:Y}} - {{#time:Y|{{{birth-date}}}}}
  }})</td>
      - {{#ifexpr: {{#time:md}} < {{#time:md|{{{birth-date}}}}} | 1 | 0 }}
    }})
  </td>
</tr>
</tr>
}}
}}