Difference between revisions of "Template:Infobox basketball player"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
imported>Frietjes
 
(30 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{tfd|Infobox basketball player}}
+
#REDIRECT [[Template:Infobox basketball biography]]
{| class="infobox vcard vevent bordered" style="width: 22em; text-align: left; font-size: 88%"
 
|+ style="font-size: larger" class="fn summary"| '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
{{#if:{{{image<includeonly>|</includeonly>}}}|{{!}} colspan=2 style="text-align: center; border-bottom: 1px solid DimGray" {{!}}[[File:{{{image}}}|{{{width|200}}}px]]{{#if:{{{caption<includeonly>|</includeonly>}}}|<br /><small>{{{caption}}}</small>}}
 
}}
 
{{#if:{{{team<includeonly>|</includeonly>}}}|{{!}}-
 
{{!}} colspan=2 style="text-align: center; background-color: #{{NBA color|{{{team}}}|1}}"{{!}} <span style="color: #{{NBA color|{{{team}}}|2}}" class="note">'''[[{{{team_link|{{{team}}}}}}|<span style="color: #{{NBA color|{{{team}}}|2}}">{{{team}}}</span>]] {{#if:{{{number<includeonly>|</includeonly>}}}|&nbsp;– No. {{{number|--}}}'''}}</span>
 
}}
 
|- style="text-align: center"
 
{{#if:{{{position<includeonly>|</includeonly>}}}|{{!}} ! colspan=2 {{!}} '''{{{position}}}'''
 
}}
 
|-
 
{{#if:{{{birth_date<includeonly>|</includeonly>}}}{{{birth_place<includeonly>|</includeonly>}}}|{{!}}-
 
{{!}} colspan=2 style="text-align: center" {{!}} '''Born: ''' {{{birth_date<includeonly>|</includeonly>}}}{{#if:{{{birth_date<includeonly>|</includeonly>}}}|{{#if:{{{birth_place<includeonly>|</includeonly>}}}|<BR>}}}}{{{birth_place<includeonly>|</includeonly>}}}
 
{{#if:{{{death_date<includeonly>|</includeonly>}}}{{{death_place<includeonly>|</includeonly>}}}|{{!}}-
 
{{!}} colspan=2 style="text-align: center" {{!}} '''Died: ''' {{{death_date<includeonly>|</includeonly>}}}{{#if:{{{death_date<includeonly>|</includeonly>}}}|{{#if:{{{death_place<includeonly>|</includeonly>}}}|<BR>}}}}{{{death_place<includeonly>|</includeonly>}}}}}}}
 
{{!}}-
 
|-
 
{{#if:{{{nationality|}}}
 
| <tr><th style="text-align: right">Nationality</th>
 
<td>{{{nationality|}}}{{#if:{{{nationality_2|}}}
 
  | /{{{nationality_2}}}
 
  </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}}
 
| {{{height}}}
 
}}</td></tr>
 
<tr><th style="text-align: right">Weight</th><td>{{#if:{{{weight_lbs|{{{weight_lb|}}}}}}
 
| {{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg|0|abbr=on}}
 
| {{{weight}}}
 
}}</td></tr>
 
{{#if:{{{league|}}}|<tr><th style="text-align: right">League</th><td>{{{league}}}</td></tr>}}
 
{{#if:{{{salary|}}}
 
|<tr><th style="text-align: right">Salary</th><td class="num">${{{salary}}}</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>
 
}}{{#if:{{{career_start|}}}{{{draft_year|}}}|<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>}}{{#if:{{#switch: {{{league}}} |NBA |[[NBA]] |[[National Basketball Association{{!}}NBA]]=1 | }} |
 
<tr style="vertical-align: top; padding: 1em"><th style="text-align: right">Profile</th><td>{{NBA-profile-infobox|{{{profile|{{PAGENAMEE}}}}}}}</td></tr>}}
 
|}<noinclude>{{documentation}}<!-- place category and language links on the /doc page, not here --></noinclude>
 

Latest revision as of 17:25, 9 March 2012