Template:Infobox-poker-player: Difference between revisions

No edit summary
No edit summary
 
(10 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 67: 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 }}}})
</tr>
</td>
}}
 
{{#if:{{{died|}}}|
<tr>
  <th>Died</th>
  <td>
    {{#time:F j, Y|{{{died}}}}}
    {{#if:{{{birth-date|}}}|
      (age {{#expr: {{#time:Y|{{{died}}}}} - {{#time:Y|{{{birth-date}}}}} - {{#ifexpr: {{#time:md|{{{died}}}}} < {{#time:md|{{{birth-date}}}}} | 1 | 0 }}}})
    }}
  </td>
</tr>
</tr>
}}
}}
Line 89: Line 78:
<tr>
<tr>
<th>Profession</th>
<th>Profession</th>
<td>Poker player</td>
<td>[[poker/players|Poker player]]</td>
</tr>
</tr>


Line 120: 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 157: 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 182: 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 208: Line 202:
</tr>
</tr>
}}
}}
}}
<tr>
<td colspan="2" style="border-top: 1px solid #aaa; padding: 0;"></td>
</tr>


<tr>
<tr>