Difference between revisions of "Template:Infobox PBA player"

From blackwiki
Jump to navigation Jump to search
imported>Raigeiki55
imported>WayKurat
(restored to a more functional version)
Line 1: Line 1:
{| class="infobox vcard" style="width: 25em; text-align: left; font-size: 88%"
+
{{Infobox
|+ class="fn summary" style="font-size: larger; font-weight: bold" | {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
|name        =  
|-
+
|bodystyle    =  
{{#if:{{{image|}}}|
+
|bodyclass    = vcard
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{image}}}|{{px|{{{width|}}}|frameless}}|alt={{{alt|}}}]]
+
|title        = {{{fullname}}}
{{!}}-
+
|titleclass  = fn
{{#if:{{{caption|}}}|
+
|titlestyle  =
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}}
+
|above        =
{{!}}-
+
|abovestyle  =
}}
+
 
}}
+
|imagestyle  =
{{#if:{{{number|}}}{{{team|}}}|
+
|captionstyle =
! colspan=2 style="{{PBA color cell|{{{team}}}}}; text-align: center" {{!}} {{#if:{{{number|}}}|No. {{{number}}}{{#if:{{{team|}}}|<!--Add space between number and team-->&nbsp;&nbsp;&nbsp;}} }} {{#if:{{{team|}}}|[[{{#if:{{{team_link|}}}|{{{team_link}}}|{{{team}}}}}{{!}}<span style="{{PBA color cell|{{{team}}}}}">{{{team}}}</span>]]}}
+
 
{{!}}-
+
|image        = {{#if:{{{Image|}}} | [[Image:{{{Image}}}|{{{ImageWidth|110}}}px|center]] }}
}}
+
|caption      =
{{#if:{{{position|}}}|
+
|image2      =  
{{!}} colspan=2 style="text-align: center" {{!}} {{{position}}}
+
|caption2    =
{{!}}-
+
 
}}
+
|headerstyle  = background: #999; color: #fff;
{{#if:{{{alias|}}}|
+
|labelstyle  =
! colspan=2 style="text-align: center; {{PBA color cell|{{{team}}}}}" {{!}} Aliases
+
|datastyle    =
{{!}}-
+
 
}}
+
|header1  =
{{#if:{{{alias|}}}|
+
|label1  = Alias
{{!}} colspan=2 style="text-align: left" {{!}} {{{alias}}}
+
|data1    = {{{alias<includeonly>|</includeonly>}}}
{{!}}-
+
|class1  = nickname
}}
+
|header2  =
{{#if:{{{birthdate|}}}{{{birth_date|}}}{{{birthplace|}}}{{{birth_place|}}}{{{nationality|}}}{{{deathdate|}}}{{{death_date|}}}{{{death_place|}}}{{{highschool|}}}{{{high_school|}}}{{{height_ft|}}}{{{height_in|}}}{{{weight_lbs|}}}{{{weight_lb|}}}|
+
|label2  = Jersey No.
! colspan=2 style="text-align: center; {{PBA color cell|{{{team}}} }}" {{!}} Personal information
+
|data2    = {{{jersey<includeonly>|</includeonly>}}}
{{!}}-
+
|header3  =
}}
+
|label3  = Position
{{#if:{{{birthdate|}}}{{{birth_date|}}}|
+
|data3    = {{{position<includeonly>|</includeonly>}}}
! Date of birth
+
|class3  = role
{{!}} {{{birthdate|{{{birth_date}}} }}}
+
|header4  =
{{!}}-
+
|label4  = Current Team
}}
+
|data4    = {{{team<includeonly>|</includeonly>}}}
{{#if:{{{birthplace|}}}{{{birth_place|}}}|
+
|class4  = org
! {{nowrap|Place of birth}}
+
 
{{!}} {{{birth_place|{{{birthplace}}} }}}
+
|header10 = Personal Info
{{!}}-
+
 
}}
+
|label11  = Country
{{#if:{{{nationality|}}}|
+
|data11  = {{#if:{{{nationality<includeonly>|</includeonly>}}} | {{flagcountry|{{{nationality|PHI}}}}} }}
! Nationality
+
|label12  = Birth
{{!}} {{{nationality}}}
+
|data12  = {{#if:{{{birthdate<includeonly>|</includeonly>}}}{{{birthplace<includeonly>|</includeonly>}}} | {{{birthdate}}}<br>{{{birthplace}}} }}
{{!}}-
+
|label13  = Height
}}
+
|data13  = {{#if:{{{height_ft<includeonly>|</includeonly>}}}{{{height_in<includeonly>|</includeonly>}}} | {{{height_ft}}} ft. {{{height_in}}} in. }}
{{#if:{{{deathdate|}}}{{{death_date|}}}|
+
|label14  = Weight
! {{nowrap|Date of death}}
+
|data14  = {{#if:{{{weight_lbs<includeonly>|</includeonly>}}} | {{{weight_lbs}}} lbs. }}
{{!}} {{{deathdate|{{{death_date}}} }}}
+
|label15  = College
{{!}}-
+
|data15  = {{{college<includeonly>|</includeonly>}}}
}}
+
 
{{#if:{{{death_place|}}}|
+
|header20 = Career Highlights
! {{nowrap|Place of death}}
+
 
{{!}} {{{death_place}}}
+
|label21  = Draft
{{!}}-
+
|data21  = {{#if:{{{draftyear<includeonly>|</includeonly>}}}{{{draftrank<includeonly>|</includeonly>}}}{{{motherteam<includeonly>|</includeonly>}}} | {{{draftyear}}}&nbsp;{{{draftrank}}}<br>by {{{motherteam}}} }}
}}
+
|label22  = Pro Career
{{#if:{{{highschool|}}}{{{high_school|}}}|
+
|data22  = {{#if:{{{career_start<includeonly>|</includeonly>}}}{{{career_end<includeonly>|</includeonly>}}} | {{{career_start}}} &ndash; {{{career_end|'''present'''}}} }}
! {{nowrap|High school}}
+
|label23  = Also played for
{{!}} {{{highschool|{{{high_school}}} }}}
+
|data23  = {{{former_teams<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
|header30 = {{#if:{{{awards<includeonly>|</includeonly>}}} | Awards Received }}
{{#if:{{{height_ft|}}}{{{height_in|}}}|
+
 
! {{nowrap|Listed height}}
+
|data31  = {{#if:{{{awards<includeonly>|</includeonly>}}} | <div align="left">{{{awards}}}</div> }}
{{!}} {{#if:{{both|{{{height_ft|}}}|{{{height_in|}}}}}|{{convert|{{{height_ft}}}|ft|{{{height_in}}}|in|2|abbr=on}}|{{{height_ft}}} ft {{{height_in}}} in}}{{{height_footnote|}}}
+
 
{{!}}-
+
|belowstyle =
}}
+
|below =
{{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|
+
}}<noinclude>{{documentation}}</noinclude>
! {{nowrap|Listed weight}}
 
{{!}} {{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|{{convert|{{{weight_lbs|{{{weight_lb}}}}}}|lb|kg|0|abbr=on}}|{{{weight_lb}}} lb}}{{{weight_footnote|}}}
 
{{!}}-
 
}}
 
{{#if:{{{college|}}}{{{draftyear|}}}{{{draft_year|}}}{{{draftteam|}}}{{{draft_team|}}}{{{debutyear|}}}{{{career_start|}}}{{{league|}}}{{{former_teams|}}}{{{teams|}}}{{{coach|}}}|
 
! colspan=2 style="text-align: center; {{PBA color cell|{{{team}}}}}" {{!}} Career information
 
{{!}}-
 
}}
 
{{#if:{{{college|}}}|
 
! College
 
{{!}} {{{college}}}
 
{{!}}-
 
}}
 
{{#if:{{{draftyear|}}}{{{draft_year|}}}|
 
! [[PBA Draft]]
 
{{!}} [[{{{draftyear|{{{draft_year}}}}}} PBA Draft|{{{draftyear|{{{draft_year}}}}}}]] {{#if:{{{draft|}}}|/ {{{draft}}} | {{#if:{{{draftround|{{{draft_round|}}}}}}| / {{#ifeq:{{lc:{{{draftround|{{{draft_round}}}}}}}}|undrafted||Round:}} {{{draftround|{{{draft_round}}}}}}}} {{#if:{{{draftpick|{{{draft_pick|}}}}}}| / Pick: {{{draftpick|{{{draft_pick}}}}}}}} }}
 
{{!}}-
 
{{#if:{{{draftteam|}}}{{{draft_team|}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}} Selected by the {{{draftteam|{{{draft_team}}} }}}
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{debutyear|}}}{{{career_start|}}}|
 
! Pro career
 
{{!}} {{{debutyear|{{{career_start|}}}}}}–{{#if:{{{finalyear|{{{career_end|}}}}}}|{{{finalyear|{{{career_end}}}}}}|present}}
 
{{!}}-
 
}}
 
{{#if:{{{league|}}}|
 
! League
 
{{!}} {{{league|PBA}}}
 
{{!}}-
 
}}
 
{{#if:{{{former_teams|}}}{{{teams|}}}|
 
! colspan=2 style="text-align: center; {{PBA color cell|{{{team}}}}}" {{!}} Career history
 
{{!}}-
 
}}
 
{{#if:{{{former_teams|}}}{{{teams|}}}|
 
{{!}} colspan=2 style="text-align: left" {{!}} {{#if:{{{coach|}}}| '''As player:'''<br />}}{{{former_teams|{{{teams}}} }}}
 
{{!}}-
 
}}
 
{{#if:{{{coach|}}}|
 
{{!}} colspan=2 style="text-align: left" {{!}} '''As coach:'''<br />{{{coach}}}
 
{{!}}-
 
}}
 
{{#if:{{{awards|}}}{{{highlights|}}}|
 
! colspan=2 style="text-align: center; {{PBA color cell|{{{team}}}}}" {{!}} Career highlights and awards
 
{{!}}-
 
}}
 
{{#if:{{{awards|}}}{{{highlights|}}}|
 
{{!}} colspan=2 style="text-align: left" {{!}} {{{awards|{{{highlights}}} }}}
 
{{!}}-
 
}}
 
{{#if:{{both|{{{stat1label|}}}|{{{career_end|{{{finalyear|}}} }}} }}|
 
! colspan=2 style="text-align: center; {{PBA color cell|{{{team}}} }}" {{!}} Career {{#switch:{{{league|PBA}}}|both=PBA and ABA|{{{league|PBA}}} }} statistics
 
{{!}}-
 
! style="text-align: right" {{!}} {{{stat1label}}}
 
{{!}} style="text-align: left" {{!}} {{{stat1value}}}
 
{{!}}-
 
{{#if:{{{stat2label|}}}|
 
! style="text-align: right" {{!}} {{{stat2label}}}
 
{{!}} style="text-align: left" {{!}} {{{stat2value}}}
 
{{!}}-
 
}}
 
{{#if:{{{stat3label|}}}|
 
! style="text-align: right" {{!}} {{{stat3label}}}
 
{{!}} style="text-align: left" {{!}} {{{stat3value}}}
 
{{!}}-
 
}}
 
}}
 
<includeonly>{{#if:{{#switch: {{{league|PBA}}} |PBA |[[PBA]] |Philippine Basketball Association |[[Philippine Basketball Association{{!}}PBA]]=1}}|
 
! colspan=2 style="font-size: 90%; text-align: center" {{!}} {{#if:{{{finalyear|}}}{{{career_end|}}}|<span class="plainlinks">[http://www.nba.com/historical/playerfile/index.html?player={{{profile|{{PAGENAMEE}}}}} Info Page]</span>|{{PBA playerfile|{{{profile|{{PAGENAMEE}}}}}|{{{name|{{PAGENAME}}}}}}}}}
 
{{!}}-
 
}}</includeonly>
 
{{#if:{{{bbr|}}}|
 
! colspan=2 style="font-size: 90%; text-align: center" {{!}} Stats @ <span class="plainlinks">[http://www.basketball-reference.com/players/{{{letter}}}/{{{bbr}}}.html Basketball-Reference.com]</span>
 
{{!}}-
 
}}
 
{{#if:{{{pba|}}}|
 
! colspan=2 style="font-size: 90%; text-align: center" {{!}} Stats @ <span class="plainlinks">[http://aol.nba.com/players/{{{nba}}} NBA.com]</span>
 
{{!}}-
 
}}
 
{{#if:{{{HOF|}}}|
 
! colspan=2 style="font-size: 90%; text-align: center; background-color: #d4af37" {{!}} [http://www.hoophall.com/hall-of-famers/tag/{{{HOF}}} Basketball Hall of Fame]
 
{{!}}-
 
}}
 
{{#if:{{{HOF_player|}}}|
 
! colspan=2 style="font-size: 90%; text-align: center; background-color: #d4af37" {{!}} [http://www.hoophall.com/hall-of-famers/tag/{{{HOF_player}}} Basketball Hall of Fame as player]
 
{{!}}-
 
}}
 
{{#if:{{{HOF_coach|}}}|
 
! colspan=2 style="font-size: 90%; text-align: center; background-color: #d4af37" {{!}} [http://www.hoophall.com/hall-of-famers/tag/{{{HOF_coach}}} Basketball Hall of Fame as coach]
 
{{!}}-
 
}}
 
{{#if:{{{medaltemplates|}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}} {{ collapsible list
 
| title      = Olympics
 
| titlestyle = text-align: center; {{PBA color cell|{{{team}}}}}
 
| liststyle  = font-weight: lighter; width: 100%
 
| {{Infobox football biography 2/medal}}
 
{{{medaltemplates}}}
 
{{!}}}
 
}}
 
}}
 
<noinclude>{{documentation}}</noinclude>
 

Revision as of 13:42, 10 November 2010

{{{fullname}}}
Alias{{{alias}}}
Jersey No.{{{jersey}}}
Position{{{position}}}
Current Team{{{team}}}
Personal Info
Country Philippines
Birth{{{birthdate}}}
{{{birthplace}}}
Height{{{height_ft}}} ft. {{{height_in}}} in.
Weight{{{weight_lbs}}} lbs.
College{{{college}}}
Career Highlights
Draft{{{draftyear}}} {{{draftrank}}}
by {{{motherteam}}}
Pro Career{{{career_start}}} – present
Also played for{{{former_teams}}}
Awards Received
{{{awards}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[create]