Template:Infobox player: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
<table class="infobox" align="right" bgcolor="#E1E1E1" style="width:20em; font-size:90%; text-align:left; border: 1px green solid;">
<includeonly><onlyinclude>{{align|center}}{|cellspacing="6px" style="float:{{{float|right}}}; width:{{{boxwidth|475px}}}; border:1px solid #aaaaaa; background:#fafafa; text-align:center; font-size:95%;"
<caption style="text-align:center; font-size:140%;"><i><b>{{{name}}}</b></i></caption>
|-
<tr>
!style="font-size:120%;" colspan=2 | {{{title|{{PAGENAME}}}}}
<td colspan="2" style="text-align:center;" bgcolor="#E1E1E1">{{{image}}}</td>
|-
</tr>
!colspan=2 |{{#if: {{{image|}}} | [[File:{{{image|}}}|center|290px|link=]] | <!-- nothing --> }}
<tr>
|-
<td colspan="2" bgcolor="#E1E1E1" style="text-align:center;">{{{imagecaption}}}</td>
{{#if: {{{birthdate|}}} |
<tr>
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Birthdate
<th>Author</th>
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{birthdate|}}} }}
<td>{{{author}}}</td>
|-
</tr>
{{#if: {{{birthplace|}}} |
<tr>
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Birthplace
<th>Publisher</th>
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{birthplace|}}} }}
<td>{{{publisher}}}</td>
|-
</tr>
{{#if: {{{dateofdeath|}}} |
<tr>
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Date of death
<th>Publication date</th>
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{dateofdeath|}}} }}
<td>{{{publication}}}</td>
|-
</tr>
{{#if: {{{placeofdeath|}}} |
<tr>
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Place of death
<th>Illustrator</th>
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{placeofdeath|}}} }}
<td>{{{illustrator}}}</td>
|-
</tr>
{{#if: {{{from|}}} |
<tr>
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} From
<th>Genre</th>
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{from|}}} }}
<td>{{{genre}}}</td>
|-
</tr>
{{#if: {{{residence|}}} |
<tr>
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Residence
<th>Pages</th>
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{residence|}}} }}
<td>{{{pages}}}</td>
|-
</tr>
{{#if: {{{height|}}} |
<tr>
!style="font-weight:bold; background-color:fafafa; text-align:left; width:40%" {{!}} Height
<th>ISBN</th>
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{height|}}} }}
<td>{{{isbn}}}</td>
|-
</tr>
{{#if: {{{styleofplay|}}} |
</table>
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Style of play
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{styleofplay|}}} }}
|-
{{#if: {{{turnedpro|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Turned pro
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{turnedpro|}}} }}
|-
{{#if: {{{retired|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Retired
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{retired|}}} }}
|-
{{#if: {{{bestatpsinglesranking|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best ATP singles ranking
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestatpsinglesranking|}}} }}
|-
{{#if: {{{bestatpdoublesranking|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best ATP doubles ranking
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestatpdoublesranking|}}} }}
|-
{{#if: {{{bestwtasinglesranking|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best WTA singles ranking
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestwtasinglesranking|}}} }}
|-
{{#if: {{{bestwtadoublesranking|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best WTA doubles ranking
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestwtadoublesranking|}}} }}
|-
{{#if: {{{bestitfjuniorranking|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best ITF junior ranking
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestitfjuniorranking|}}} }}
|-
{{#if: {{{canadiantennishalloffame|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Canadian Tennis Hall of Fame
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{canadiantennishalloffame|}}} }}
|-
{{#if: {{{cdntennisprofile|}}} |
{{!}} colspan=2 {{!}} {{{cdntennisprofile|}}} }}
|}</onlyinclude></includeonly>
<noinclude>{{documentation}}</noinclude>
 
[[Category:Templates]]