Difference between revisions of "Template:Infobox basketball player"
Jump to navigation
Jump to search
Template documentation[create]
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>Magioladitis (Nominated for deletion; see Wikipedia:Templates for discussion#Template:Infobox basketball player. (TW)) |
||
| Line 1: | Line 1: | ||
| − | + | {{tfd|Infobox basketball player}} | |
| − | + | {| 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:{{{ | + | {{#if:{{{team<includeonly>|</includeonly>}}}|{{!}}- |
| − | <tr><th style="text-align: right | + | {{!}} 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>}}}| – 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}} | | {{convert|{{{height_ft|0}}}|ft|{{{height_in|0}}}|in|m|2|abbr=on}} | ||
| − | + | | {{{height}}} | |
}}</td></tr> | }}</td></tr> | ||
| − | <tr><th style="text-align: right | + | <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> | }}</td></tr> | ||
| − | {{#if:{{{league|}}}|<tr><th style="text-align: right | + | {{#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> | |
| − | |<tr><th style="text-align: right | + | }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | |||
}}{{#if:{{{highschool|}}} | }}{{#if:{{{highschool|}}} | ||
| − | | <tr><th style="text-align: right | + | | <tr><th style="text-align: right">High school</th><td>{{{highschool}}}</td></tr> |
}}{{#if:{{{college|}}} | }}{{#if:{{{college|}}} | ||
| − | | <tr><th style="text-align: right | + | | <tr><th style="text-align: right">College</th><td>{{{college}}}</td></tr> |
}}{{#if:{{{pro_club|}}} | }}{{#if:{{{pro_club|}}} | ||
| − | | <tr><th style="text-align: right | + | | <tr><th style="text-align: right">Pre-draft club</th><td>{{{pro_club}}}</td></tr> |
}}{{#if:{{{draft|}}} | }}{{#if:{{{draft|}}} | ||
| − | | <tr><th style="text-align: right | + | | <tr><th style="text-align: right">Draft</th><td>{{{draft}}}{{#if:{{{draft_year|}}} |
|, [[{{{draft_year}}} {{{draft_league|NBA Draft}}}|{{{draft_year}}}]] {{#if:{{{draft_team|}}} | |, [[{{{draft_year}}} {{{draft_league|NBA Draft}}}|{{{draft_year}}}]] {{#if:{{{draft_team|}}} | ||
| <br/>{{{draft_team}}} | | <br/>{{{draft_team}}} | ||
}} | }} | ||
}}</td></tr> | }}</td></tr> | ||
| − | }}<tr><th style="text-align: right | + | }}{{#if:{{{career_start|}}}{{{draft_year|}}}|<tr><th style="text-align: right">Pro career</th><td>{{{career_start|{{{draft_year|{{{career_start}}}}}} }}}–{{#if:{{{career_end|}}} |
| {{{career_end}}} | | {{{career_end}}} | ||
| ''present'' | | ''present'' | ||
| − | }}</td></tr>{{#if:{{{former_teams|}}} | + | }}</td></tr>}}{{#if:{{{former_teams|}}} |
| − | | <tr style="vertical-align: top; padding: 1em | + | | <tr style="vertical-align: top; padding: 1em"><th style="text-align: right">Former teams</th> |
<td>{{{former_teams}}}</td></tr> | <td>{{{former_teams}}}</td></tr> | ||
}}{{#if:{{{awards|}}} | }}{{#if:{{{awards|}}} | ||
| − | | <tr style="vertical-align: top; padding: 1em | + | | <tr style="vertical-align: top; padding: 1em"><th style="text-align: right">Awards</th><td>{{{awards}}}</td></tr> |
}}{{#if:{{{halloffame|}}} | }}{{#if:{{{halloffame|}}} | ||
| − | | <tr style="vertical-align: top; padding: 1em | + | | <tr style="vertical-align: top; padding: 1em"><th style="text-align: right">Hall of Fame</th><td>{{{halloffame}}}</td></tr> |
}}{{#if:{{{agents|}}} | }}{{#if:{{{agents|}}} | ||
| − | | <tr style="vertical-align: top; padding: 1em | + | | <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> | ||
Revision as of 12:26, 4 October 2010
| [[File:{{{image}}}|200px]] {{{caption}}} | |
| colspan=2 style="text-align: center; background-color: #Template:NBA color"| [[{{{team}}}|{{{team}}}]] – No. -- | |
| {{{position}}} | |
| Born: {{{birth_date}}} {{{birth_place}}} | |
| Died: {{{death_date}}} {{{death_place}}} | |
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |