Template:Infobox player: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
{{Infobox
<table class="infobox" align="right" bgcolor="#E1E1E1" style="width:20em; font-size:90%; text-align:left; border: 1px green solid;">
| child = {{{embed|}}}
<caption style="text-align:center; font-size:140%;"><i><b>{{{name}}}</b></i></caption>
| bodyclass = vcard
<tr>
| bodystyle = width:23em
<td colspan="2" style="text-align:center;" bgcolor="#E1E1E1">{{{image}}}</td>
| headerstyle = background-color:lavender;
</tr>
| title = {{#ifeq:{{{embed|}}}|yes|<hr style="background-color:lavender;height:3px" />'''Tennis career'''| {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
<tr>
| titleclass = fn
<td colspan="2" bgcolor="#E1E1E1" style="text-align:center;">{{{imagecaption}}}</td>
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#ifeq:{{{embed|}}}|yes|| {{#invoke:Wikidata|claim|P18}} }}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
<tr>
| caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}}
<th>Author</th>
| label1 = Full&nbsp;name
<td>{{{author}}}</td>
| data1 = {{{full_name|{{{fullname|}}}}}}
</tr>
| label2 = Native&nbsp;name
<tr>
| data2 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
<th>Publisher</th>
| label3 = ITF name
<td>{{{publisher}}}</td>
| data3 = {{{itf_name|}}}
</tr>
| label4 = Country&nbsp;(sports)
<tr>
| data4 = {{{country_represented|{{{country represented|{{{country|}}}}}}}}}
<th>Publication date</th>
| label5 = Residence
<td>{{{publication}}}</td>
| data5 = {{{residence|}}}
</tr>
| class5 = label
<tr>
| label6 = Born
<th>Illustrator</th>
| data6 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
<td>{{{illustrator}}}</td>
| label7 = Died
</tr>
| data7 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
<tr>
| label8 = Height
<th>Genre</th>
| data8 = {{#if: {{{height|}}} | {{Infobox person/height|{{{height}}}}} }}
<td>{{{genre}}}</td>
| label10 = Turned&nbsp;pro
</tr>
| data10 = {{{turnedpro|}}}
<tr>
| label11 = Retired
<th>Pages</th>
| data11 = {{{retired|}}}
<td>{{{pages}}}</td>
| label12 = Plays
</tr>
| data12 = {{{plays|}}}
<tr>
| label13 = College
<th>ISBN</th>
| data13 = {{{college|}}}
<td>{{{isbn}}}</td>
| label14 = Coach
</tr>
| data14 = {{{coach|}}}
</table>
| label15 = Prize money
| data15 = {{{careerprizemoney|}}}
| label16 = [[International Tennis Hall of Fame|Int. Tennis HoF]]
| 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]]}}}}
| label17 = Official&nbsp;website
| data17 = {{{website|}}}
}}