Template:Infobox player: Difference between revisions

From All things Canadian tennis
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{|cellspacing="4px" style="float:{{{float|right}}}; width:{{{boxwidth|35em}}}; margin:.4em; padding:.2em .2em .2em .2em; border:1px solid #ff0000; border-radius:.2em; -moz-border-radius:.2em; -webkit-border-radius:.2em; background:#f6f6f6; text-align:center; font-size:95%;" align:center
<includeonly><onlyinclude>{|cellspacing="6px" style="float:{{{float|right}}}; width:{{{boxwidth|475px}}}; border:1px solid #aaaaaa; background:#fafafa; text-align:center; font-size:95%;"
|-
|-
!style="font-size:120%;" colspan=2 | {{{title|{{PAGENAME}}}}}
!style="font-size:120%;" colspan=2 | {{{title|{{PAGENAME}}}}}
|-
|-
!colspan=2 |{{#if: {{{image|}}} | [[File:{{{image|}}}|center|100px|link=]] | <!-- nothing --> }}
!colspan=2 |{{#if: {{{image|}}} | [[File:{{{image|}}}|center|290px|link=]] | <!-- nothing --> }}
|-
|-
{{#if: {{{birthdate|}}} |
{{#if: {{{birthdate|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Birthdate
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Birthdate
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{birthdate|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{birthdate|}}} }}
|-
|-
{{#if: {{{birthplace|}}} |
{{#if: {{{birthplace|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Birthplace
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Birthplace
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{birthplace|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{birthplace|}}} }}
|-
|-
{{#if: {{{dateofdeath|}}} |
{{#if: {{{dateofdeath|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Date of death
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Date of death
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{dateofdeath|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{dateofdeath|}}} }}
|-
|-
{{#if: {{{placeofdeath|}}} |
{{#if: {{{placeofdeath|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Place of death
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Place of death
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{placeofdeath|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{placeofdeath|}}} }}
|-
|-
{{#if: {{{from|}}} |
{{#if: {{{from|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} From
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} From
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{from|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{from|}}} }}
|-
|-
{{#if: {{{residence|}}} |
{{#if: {{{residence|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Residence
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Residence
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{residence|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{residence|}}} }}
|-
{{#if: {{{countryrepresented|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Country represented
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{countryrepresented|}}} }}
|-
|-
{{#if: {{{height|}}} |
{{#if: {{{height|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Height
!style="font-weight:bold; background-color:fafafa; text-align:left; width:40%" {{!}} Height
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{height|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{height|}}} }}
|-
|-
{{#if: {{{styleofplay|}}} |
{{#if: {{{styleofplay|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Style of play
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Style of play
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{styleofplay|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{styleofplay|}}} }}
|-
|-
{{#if: {{{turnedpro|}}} |
{{#if: {{{turnedpro|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Turned pro
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Turned pro
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{turnedpro|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{turnedpro|}}} }}
|-
|-
{{#if: {{{retired|}}} |
{{#if: {{{retired|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Retired
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Retired
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{retired|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{retired|}}} }}
|-
|-
{{#if: {{{bestatpsinglesranking|}}} |
{{#if: {{{bestatpsinglesranking|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Best ATP singles ranking
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best ATP singles ranking
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{bestatpsinglesranking|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestatpsinglesranking|}}} }}
|-
|-
{{#if: {{{bestatpdoublesranking|}}} |
{{#if: {{{bestatpdoublesranking|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Best ATP doubles ranking
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best ATP doubles ranking
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{bestatpdoublesranking|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestatpdoublesranking|}}} }}
|-
|-
{{#if: {{{bestwtasinglesranking|}}} |
{{#if: {{{bestwtasinglesranking|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Best WTA singles ranking
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best WTA singles ranking
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{bestwtasinglesranking|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestwtasinglesranking|}}} }}
|-
|-
{{#if: {{{bestwtadoublesranking|}}} |
{{#if: {{{bestwtadoublesranking|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Best WTA doubles ranking
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best WTA doubles ranking
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{bestwtadoublesranking|}}} }}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{bestwtadoublesranking|}}} }}
|-
|-
{{#if: {{{bestitfjuniorranking|}}} |
{{#if: {{{bestitfjuniorranking|}}} |
!style="font-weight:bold; background-color:#f6f6f6; padding-left:.5em; margin:.1em; text-align:left; width:40%" {{!}} Best ITF junior ranking
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Best ITF junior ranking
!style="font-weight:normal; padding-left:.5em; margin:.1em; text-align:left; width:60%;" {{!}} {{{bestitfjuniorranking|}}} }}
!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|}}} |
{{#if: {{{cdntennisprofile|}}} |
{{!}} colspan=2 {{!}} {{#if: {{{cdntennisprofiletext|}}}|[}}{{{cdntennisprofile|}}} {{#if: {{{cdntennisprofiletext|}}}| {{{cdntennisprofiletext|}}}]}} }}
{{!}} colspan=2 {{!}} {{{cdntennisprofile|}}} }}
|}</onlyinclude></includeonly>
|}</onlyinclude></includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

[[Category:Templates]]

Latest revision as of 18:51, 30 March 2022


DocumentationThe documentation below is transcluded from Template:Infobox player/doc.

This template displays an infobox about a player.

Usage

image =
birthdate =
birthplace =
dateofdeath =
placeofdeath =
from =
residence =
countryrepresented =
height =
styleofplay =
turnedpro =
retired =
bestatpsinglesranking =
bestatpdoublesranking =
bestwtasinglesranking =
bestwtadoublesranking =
bestitfjuniorranking =
canadiantennishalloffame =
cdntennisprofile =