Template:Infobox player: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | 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 name |
|||
{{#if: {{{birthplace|}}} | |
|||
| data1 = {{{full_name|{{{fullname|}}}}}} |
|||
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Birthplace |
|||
| label2 = Native 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 |
|||
{{#if: {{{dateofdeath|}}} | |
|||
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Date of death |
|||
| label4 = Country (sports) |
|||
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{dateofdeath|}}} }} |
|||
| data4 = {{{country_represented|{{{country represented|{{{country|}}}}}}}}} |
|||
|- |
|||
| label5 = Residence |
|||
{{#if: {{{placeofdeath|}}} | |
|||
!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 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: {{{countryrepresented|}}} | |
|||
| label12 = Plays |
|||
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Country represented |
|||
| data12 = {{{plays|}}} |
|||
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{countryrepresented|}}} }} |
|||
| label13 = College |
|||
|- |
|||
| data13 = {{{college|}}} |
|||
{{#if: {{{height|}}} | |
|||
| label14 = Coach |
|||
!style="font-weight:bold; background-color:fafafa; text-align:left; width:40%" {{!}} Height |
|||
| data14 = {{{coach|}}} |
|||
!style="font-weight:normal; padding-left:12px; text-align:left; width:60%;" {{!}} {{{height|}}} }} |
|||
| label15 = Prize money |
|||
|- |
|||
| data15 = {{{careerprizemoney|}}} |
|||
{{#if: {{{styleofplay|}}} | |
|||
| label16 = [[International Tennis Hall of Fame|Int. Tennis HoF]] |
|||
!style="font-weight:bold; background-color:#fafafa; text-align:left; width:40%" {{!}} Style of play |
|||
| 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%;" {{!}} {{{styleofplay|}}} }} |
|||
| label17 = Official website |
|||
|- |
|||
| data17 = {{{website|}}} |
|||
{{#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]] |
Latest revision as of 18:51, 30 March 2022
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 =