Difference between revisions of "Template:Infobox basketball player"

From blackwiki
Jump to navigation Jump to search
imported>TFOWR
m (Unprotected Template:Infobox Euroleague Player: Unprotection, Consensus at ANI appears to be that original protection level should be restored. using TW)
imported>Frietjes
 
(31 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<table class = "infobox vcard" style="float: right; margin-left: 1em; width: 22em; font-size: 90%; clear: right;" cellspacing="3"><caption colspan="2" style="text-align: center; font-size: larger; font-weight: bold;" class = "fn">{{{name|{{PAGENAME}}}}}</caption>{{#if:{{{image|}}}|
+
#REDIRECT [[Template:Infobox basketball biography]]
<tr><td colspan="2" padding: 1em 0em;" {{#ifeq:{{ucfirst:{{{image}}}}}|Replace this image1.svg|class="metadata"|}}> [[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|200x250}}px|center|{{{caption|&#32;}}}]] {{#if:{{{caption|}}}|<div style="font-size:smaller; text-align:center;">{{{caption}}}</div>}}</td></tr>
 
}}
 
{{#if:{{{nickname|}}}|<tr><th style="text-align: right;">Nickname(s)</th><td class="role">{{{nickname}}}</td></tr>}}
 
<tr><th style="text-align: right;">Position</th><td class="role">{{{position}}}</td></tr><tr><th style="text-align: right;">Height</th><td>{{#if:{{{height_ft|}}}{{{height_in|}}}
 
| {{convert|{{{height_ft|0}}}|ft|{{{height_in|0}}}|in|m|2|abbr=on}}
 
| {{#if:{{{height_m|}}} | {{height|m={{{height_m|0}}}|frac=2}} | {{{height}}}}}
 
}}</td></tr>
 
<tr><th style="text-align: right;">Weight</th><td>{{#if:{{{weight_lbs|{{{weight_lb|}}}}}}
 
| {{lb to kg|{{{weight_lbs|{{{weight_lb|0}}}}}}|abbr=yes}}
 
| {{#if:{{{weight_kg|}}} | {{kg to lb|{{{weight_kg|0}}}|abbr=yes}} | {{{weight}}}}}
 
}}</td></tr>
 
{{#if:{{{league|}}}|<tr><th style="text-align: right;">League</th><td>{{{league}}}</td></tr>}}{{#if:{{{team|}}}
 
|<tr><th style="text-align: right;">Team</th><td class="org">{{{team}}}</td></tr>
 
}}{{#if:{{{number|}}}
 
|<tr><th style="text-align: right;">Number</th><td class="num">{{{number}}}</td></tr>
 
}}<tr><th style="text-align: right;">Born</th><td>{{{birth_date}}}{{#if:{{{birth_place|}}}
 
| <br/>{{{birth_place}}}
 
}}</td></tr>{{#if:{{{nationality|}}}
 
| <tr><th style="text-align: right;">Nationality</th>
 
<td>{{{nationality|}}}{{#if:{{{nationality_2|}}}
 
  | &#32;/{{{nationality_2}}}
 
  }}</td></tr>
 
}}{{#if:{{{death_date|}}}
 
| <tr><th style="text-align: right;">Died</th><td>{{{death_date}}}{{#if:{{{death_place|}}}
 
  | <br/>{{{death_place}}}
 
  }}</td></tr>
 
}}{{#if:{{{highschool|}}}
 
| <tr><th style="text-align: right;">High school</th><td>{{{highschool}}}</td></tr>
 
}}{{#if:{{{college|}}}
 
| <tr><th style="text-align: right;">College</th><td>{{{college}}}</td></tr>
 
}}{{#if:{{{pro_club|}}}
 
| <tr><th style="text-align: right;">Pre-draft club</th><td>{{{pro_club}}}</td></tr>
 
}}{{#if:{{{draft|}}}
 
| <tr><th style="text-align: right;">Draft</th><td>{{{draft}}}{{#if:{{{draft_year|}}}
 
  |, [[{{{draft_year}}} {{{draft_league|NBA Draft}}}|{{{draft_year}}}]] {{#if:{{{draft_team|}}}
 
    | <br/>{{{draft_team}}}
 
    }}
 
  }}</td></tr>
 
}}<tr><th style="text-align: right;">Pro career</th><td>{{{career_start|{{{draft_year|&#123;&#123;&#123;career_start&#125;&#125;&#125;}}} }}}–{{#if:{{{career_end|}}}
 
  | {{{career_end}}}
 
  | ''present''
 
}}</td></tr>{{#if:{{{former_teams|}}}
 
| <tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Former teams</th>
 
<td>{{{former_teams}}}</td></tr>
 
}}{{#if:{{{awards|}}}
 
| <tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Awards</th><td>{{{awards}}}</td></tr>
 
}}{{#if:{{{halloffame|}}}
 
| <tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">Hall of Fame</th><td>{{{halloffame}}}</td></tr>
 
}}{{#if:{{{agents|}}}
 
| <tr style="vertical-align: top; padding: 1em;"><th style="text-align: right;">[[Sports agent|Agent(s)]]</th><td>{{{agents}}}</td></tr>
 
}}</table><noinclude>{{template doc}}</noinclude>
 

Latest revision as of 17:25, 9 March 2012