Template:Infobox player: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
<includeonly><onlyinclude>{|cellspacing="6px" style="float:{{{float|right}}}; width:{{{boxwidth|475px}}}; border:1px solid #aaaaaa; background:#fafafa; text-align:center; font-size:95%;"
{{Infobox
|-
| child = {{{embed|}}}
!style="font-size:120%;" colspan=2 | {{{title|{{PAGENAME}}}}}
| bodyclass = vcard
|-
| bodystyle = width:23em
!colspan=2 |{{#if: {{{image|}}} | [[File:{{{image|}}}|center|290px|link=]] | <!-- nothing --> }}
| headerstyle = background-color:lavender;
|-
| title = {{#ifeq:{{{embed|}}}|yes|<hr style="background-color:lavender;height:3px" />'''Tennis career'''| {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
{{#if: {{{birthdate|}}} |
| titleclass = fn
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Birthdate
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#ifeq:{{{embed|}}}|yes|| {{#invoke:Wikidata|claim|P18}} }}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{birthdate|}}} }}
| caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}}
|-
| label1 = Full&nbsp;name
{{#if: {{{birthplace|}}} |
| data1 = {{{full_name|{{{fullname|}}}}}}
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Birthplace
| label2 = Native&nbsp;name
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{birthplace|}}} }}
| data2 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
|-
| label3 = ITF name
| data3 ={{#if: {{{itf_namedateofdeath|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Date of death
| label4 = Country&nbsp;(sports)
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{dateofdeath|}}} }}
| data4 = {{{country_represented|{{{country represented|{{{country|}}}}}}}}}
|-
| label5 = Residence
| data5 ={{#if: {{{residenceplaceofdeath|}}} |
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Place of death
| class5 = label
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{placeofdeath|}}} }}
| label6 = Born
|-
| data6 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
{{#if: {{{from|}}} |
| label7 = Died
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} From
| data7 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{from|}}} }}
| label8 = Height
|-
| data8 = {{#if: {{{height|}}} | {{Infobox person/height|{{{height}}}}} }}
{{#if: {{{residence|}}} |
| label10 = Turned&nbsp;pro
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Residence
| data10 = {{{turnedpro|}}}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{residence|}}} }}
| label11 = Retired
|-
| data11 = {{{retired|}}}
{{#if: {{{height|}}} |
| label12 = Plays
!style="font-weight:bold; background-color:fafafa; text-align:left; width:40%" {{!}} Height
| data12 = {{{plays|}}}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{height|}}} }}
| label13 = College
|-
| data13 = {{{college|}}}
{{#if: {{{styleofplay|}}} |
| label14 = Coach
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Style of play
| data14 = {{{coach|}}}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{styleofplay|}}} }}
| label15 = Prize money
|-
| data15 = {{{careerprizemoney|}}}
{{#if: {{{turnedpro|}}} |
| label16 = [[International Tennis Hall of Fame|Int. Tennis HoF]]
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Turned pro
| data16 = {{#if:{{{tennishofyear|}}}|{{{tennishofyear}}} {{#if:{{{tennishofid|}}}|''([https://www.tennisfame.com/hall-of-famers/inductees/{{{tennishofid}}}/ member page])''[[Category:Pages using infobox tennis biography with tennishofid]]}}}}
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{turnedpro|}}} }}
| label17 = Official&nbsp;website
|-
| data17 = {{{website|}}}
{{#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]]