Template:Infobox-poker-player: Difference between revisions

No edit summary
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 11: Line 11:
<tr>
<tr>
<td colspan="2" style="text-align:center;">
<td colspan="2" style="text-align:center;">
[[File:{{{image|}}}|250px|{{{name|}}} image]]
[[File:{{{image|}}}|250px|link=|{{{name|}}} image]]
</td>
</td>
</tr>
</tr>
Line 38: Line 38:
<th>Residence</th>
<th>Residence</th>
<td>{{{residence}}}</td>
<td>{{{residence}}}</td>
</tr>
}}
{{#if:{{{birth-date|}}}|
<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>
}}
}}
Line 56: Line 46:
<td>{{{birthplace}}}</td>
<td>{{{birthplace}}}</td>
</tr>
</tr>
}}
{{#if:{{{birth-date|}}}|
  {{#if:{{{died|}}}|
    <tr>
      <th>Born</th>
      <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>
  }}
}}
}}


Line 61: Line 67:
<tr>
<tr>
<th>Died</th>
<th>Died</th>
<td>{{{died}}}</td>
<td>{{#time:F j, Y|{{{died}}}}} (age {{#expr: {{#time:Y|{{{died}}}}} - {{#time:Y|{{{birth-date}}}}} - {{#ifexpr: {{#time:md|{{{died}}}}} < {{#time:md|{{{birth-date}}}}} | 1 | 0  }}}})
</td>
</tr>
</tr>
}}
}}
Line 71: Line 78:
<tr>
<tr>
<th>Profession</th>
<th>Profession</th>
<td>Poker player</td>
<td>[[poker/players|Poker player]]</td>
</tr>
</tr>


Line 102: Line 109:
}}
}}


{{#if: {{{wsop-wins|}}} {{{wsop-cashes|}}} {{{wsop-bracelets|}}} {{{wsop-tables|}}} {{{wsop-highest|}}} |
<tr>
<tr>
<th colspan="2" style="text-align:center; font-size:125%;">WSOP</th>
<th colspan="2" style="text-align:center; font-size:125%;">WSOP</th>
Line 139: Line 147:
<td>{{{wsop-highest}}}</td>
<td>{{{wsop-highest}}}</td>
</tr>
</tr>
}}
}}
}}


{{#if: {{{wpt-titles|}}} {{{wpt-tables|}}} {{{wpt-money-finishes|}}} |
<tr>
<tr>
<th colspan="2" style="text-align:center; font-size:125%;">WPT</th>
<th colspan="2" style="text-align:center; font-size:125%;">WPT</th>
Line 164: Line 174:
<td>{{{wpt-money-finishes}}}</td>
<td>{{{wpt-money-finishes}}}</td>
</tr>
</tr>
}}
}}
}}


{{#if: {{{ept-titles|}}} {{{ept-tables|}}} {{{ept-money-finishes|}}} |
<tr>
<tr>
<th colspan="2" style="text-align:center; font-size:125%;">EPT</th>
<th colspan="2" style="text-align:center; font-size:125%;">EPT</th>
Line 190: Line 202:
</tr>
</tr>
}}
}}
}}
<tr>
<td colspan="2" style="border-top: 1px solid #aaa; padding: 0;"></td>
</tr>


<tr>
<tr>