Template:Infobox-poker-player: Difference between revisions

No edit summary
No edit summary
 
(29 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 41: Line 41:
}}
}}


{{#if:{{{age|}}}|
{{#if:{{{birthplace|}}}|
<tr>
<tr>
<th>Age</th>
<th>Birthplace</th>
<td>{{{age}}}</td>
<td>{{{birthplace}}}</td>
</tr>
</tr>
}}
}}


{{#if:{{{birth-date|}}}|
{{#if:{{{birth-date|}}}|
<tr>
  {{#if:{{{died|}}}|
   <th>Age</th>
    <tr>
  <td>
      <th>Born</th>
    {{#time:F j, Y|{{{birth-date}}}}}
      <td>{{#time:F j, Y|{{{birth-date}}}}}</td>
    (age
    </tr>
    {{#expr:
   |
      {{#time:Y}} - {{#time:Y|{{{birth-date}}}}
    <tr>
      - {{#ifexpr:
      <th>Age</th>
          {{#time:md}} < {{#time:md|{{{birth-date}}}}
      <td>{{#time:F j, Y|{{{birth-date}}}}} (age {{#expr: {{#time:Y}} - {{#time:Y|{{{birth-date}}}}}
          | 1 | 0
          - {{#ifexpr: {{#time:md}} < {{#time:md|{{{birth-date}}}}} | 1 | 0 }}}})
        }}
</td>
    }})
    </tr>
  </td>
  }}
</tr>
}}
 
{{#if:{{{birthplace|}}}|
<tr>
<th>Birthplace</th>
<td>{{{birthplace}}}</td>
</tr>
}}
}}


Line 75: 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 85: Line 78:
<tr>
<tr>
<th>Profession</th>
<th>Profession</th>
<td>Poker player</td>
<td>[[poker/players|Poker player]]</td>
</tr>
</tr>


Line 116: 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 153: 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 178: 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 204: Line 202:
</tr>
</tr>
}}
}}
}}
<tr>
<td colspan="2" style="border-top: 1px solid #aaa; padding: 0;"></td>
</tr>


<tr>
<tr>