Difference between revisions of "Template:Infobox baseball player"

From blackwiki
Jump to navigation Jump to search
(Undid revision 226625818 by 4.238.223.170 (talk))
Line 1: Line 1:
{| class="infobox bordered vcard" style="width: 25em; text-align: left; font-size: 95%;"
+
{| class="infobox" style="width: 25em; font-size: 95%;"
! colspan="2" style="text-align:center; font-size:larger;" class="fn" | {{{name}}}
+
|+ style="font-size: larger;" | '''{{{name}}}'''
 
|-
 
|-
{{#if:{{{image<includeonly>|</includeonly>}}}|
+
{{#if:{{{image name|}}}|
<th colspan="2" style="text-align:center;">[[Image:{{{image}}}|{{{width|200}}}px]]<br>
+
{{!}} align="center" colspan="2" {{!}} [[Image:{{{image name}}}|200px|{{{name}}}]]
{{{caption<includeonly>|</includeonly>}}}</th>
+
{{!}}-
 
}}
 
}}
|-
+
! colspan="2" bgcolor=white"#" | '''Personal Info'''
| colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}};"| <span style="{{MLBSecondaryColor|{{{team}}}}};" class="note">'''<span style="{{MLBSecondaryColor|{{{team}}}}};">{{{team}}}</span> — No. {{{number|--}}}'''</span>
+
|- style="vertical-align: top;"
|- style="text-align: center;"  
+
| '''Birth'''
{{#if:{{{position<includeonly>|</includeonly>}}}|{{!}} ! colspan="2" {{!}} '''[[{{{position}}}]]'''
+
| {{{birthdate}}}, {{{birthplace}}}
 +
|- style="vertical-align: top;"
 +
{{#if:{{{deathdate|}}}|
 +
{{!}} '''Death:'''
 +
{{!}} {{{deathdate}}}, {{{deathplace}}}
 +
{{!}}- style="vertical-align: top;"
 
}}
 
}}
|- style="text-align: center;"  
+
! colspan="2" bgcolor=white"#" | '''Professional Career'''
{{#if:{{{positionplain<includeonly>|</includeonly>}}}|{{!}} ! colspan="2" {{!}} '''{{{positionplain}}}'''
+
|- style="vertical-align: top;"
 +
| '''Debut'''
 +
| {{{debutdate}}}, {{{debutteam}}} vs. {{{debutopponent}}}, {{{debutstadium}}}
 +
|- style="vertical-align: top;"
 +
| '''Team(s)'''
 +
| {{{teams}}}
 +
|- style="vertical-align: top;"
 +
{{#if:{{{hofinductiondate|}}}|
 +
{{!}} '''[[National Baseball Hall of Fame and Museum|HOF]]&nbsp;induction:'''
 +
{{!}} {{{hofinductiondate}}}
 +
{{!}}- style="vertical-align: top;"
 
}}
 
}}
 +
! colspan="2" bgcolor=white"#" | '''Career Highlights'''
 
|-
 
|-
{{#if:{{{birthdate<includeonly>|</includeonly>}}}{{{birthplace<includeonly>|</includeonly>}}}|
+
| colspan="2" | {{{careerhighlights}}}
<th colspan="2" style="text-align:center;">Born: {{{birthdate<includeonly>|</includeonly>}}}{{#if:{{{birthdate<includeonly>|</includeonly>}}}|{{#if:{{{birthplace<includeonly>|</includeonly>}}}|<BR>}}}}{{{birthplace<includeonly>|</includeonly>}}}</th>
+
|}<noinclude>
}}
 
|-
 
| width="50%" style="text-align:center;" | '''Bats:''' {{{bats}}}
 
| width="50%" style="text-align:center;" | '''Throws:''' {{{throws}}}{{#if:{{{debutyear|<noinclude>x</noinclude>}}}{{{debutteam|<noinclude>x</noinclude>}}}|&nbsp;
 
{{!}}-
 
! colspan="2" style="text-align:center; {{MLBAltPrimaryColor|{{{team}}}}};" {{!}} <span style="{{MLBAltSecondaryColor|{{{team}}}}};">Major League Baseball debut</span>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if:{{{debutdate|<noinclude>x</noinclude>}}}|[[{{{debutdate}}}]],&nbsp;}}{{#if:{{{debutyear|<noinclude>x</noinclude>}}}|[[{{{debutyear}}}]]}}{{#if:{{{debutteam|<noinclude>x</noinclude>}}}|{{#if:{{{debutyear|<noinclude>x</noinclude>}}}|&nbsp;for the&nbsp;}}{{{debutteam}}}}}}}
 
|-
 
{{#if:{{{statyear<includeonly>|</includeonly>}}}|
 
<th colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}};"><span style="{{MLBSecondaryColor|{{{team}}}}};">Selected MLB statistics <br/>(through {{{statyear}}})</span></th>
 
  
}}{{#if:{{{stat1label<includeonly>|</includeonly>}}}|
+
If you wish to include this template in an article add the following to the article:
<tr><th style="text-align:right">{{{stat1label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat1value}}}</td></tr>
 
  
}}{{#if:{{{stat2label<includeonly>|</includeonly>}}}|
+
<table><tr><td><pre>
<tr><th style="text-align:right">{{{stat2label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat2value}}}</td></tr>
+
{{Infobox baseball player
 
+
|name            =  
}}{{#if:{{{stat3label<includeonly>|</includeonly>}}}|
+
|image name      =  
<tr><th style="text-align:right">{{{stat3label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat3value}}}</th></tr>
+
|birthdate        =  
 
+
|birthplace      =  
}}{{#if:{{{stat4label<includeonly>|</includeonly>}}}|
+
|deathdate        =
<tr><th style="text-align:right">{{{stat4label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat4value}}}</th></tr>
+
|deathplace      =  
 
+
|debutdate        =  
}}{{#if:{{{stat5label<includeonly>|</includeonly>}}}|
+
|debutteam        =
<tr><th style="text-align:right">{{{stat5label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat5value}}}</th></tr>
+
|debutopponent    =  
 
+
|debutstadium    =  
}}{{#if:{{{stat6label<includeonly>|</includeonly>}}}|
+
|teams            =  
<tr><th style="text-align:right">{{{stat6label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat6value}}}</th></tr>
+
|hofinductiondate =  
 
+
|careerhighlights =  
}}<!--deprecated, use teams instead-->{{#if:{{{formerteams|}}}|
 
<tr><th colspan="2" style="text-align:center; {{MLBAltPrimaryColor|{{{team}}}}};"><span style="{{MLBAltSecondaryColor|{{{team}}}}};">Former teams</span></th></tr><tr><td colspan="2">{{{formerteams}}}</td></tr>
 
 
 
}}{{#if:{{{teams<includeonly>|</includeonly>}}}|
 
<tr><th colspan="2" style="text-align:center; {{MLBAltPrimaryColor|{{{team}}}}};"><span style="{{MLBAltSecondaryColor|{{{team}}}}};">Teams</span></th></tr><tr><td colspan="2">{{{teams}}}</td></tr>
 
 
 
}}{{#if:{{{awards<includeonly>|</includeonly>}}}|
 
<tr><th colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}};"><span style="{{MLBSecondaryColor|{{{team}}}}};">Highlights and awards</span></th></tr><tr><td colspan="2">{{{awards}}}</td></tr>
 
 
 
}}{{#if:{{{hofdate<includeonly>|</includeonly>}}}|
 
<tr><th colspan="2" style="text-align:center; background:#A50024;">[[National Baseball Hall of Fame and Museum|<span style="color:white;">Member of the National</span>]]</th></tr><tr><th colspan="2" style="text-align:center; background:#11225b;">[[Image:Empty Star.svg|20px]] [[Image:Empty Star.svg|20px]] [[Image:Empty Star.svg|20px]] [[National Baseball Hall of Fame and Museum|<span style="color:white;">Baseball Hall of Fame</span>]] [[Image:Empty Star.svg|20px]] [[Image:Empty Star.svg|20px]] [[Image:Empty Star.svg|20px]]</th></tr><tr><th style="text-align:right">Elected&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{hofdate}}}</td></tr>
 
 
 
}}{{#if:{{{hofvote<includeonly>|</includeonly>}}}|
 
<tr><th style="text-align:right">Vote&nbsp;&nbsp;</td><td>&nbsp;&nbsp;{{{hofvote}}}</td></tr>
 
 
 
}}{{#if:{{{hofmethod<includeonly>|</includeonly>}}}|
 
<tr><th style="text-align:right">Election Method&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{hofmethod}}}</td></tr>
 
 
}}
 
}}
|}<noinclude>
+
</pre></tr></td></table>
'''If you want to make any changes here, please use [[/sandbox]] first.'''
+
==See also==
 
+
*[[Template:Infobox MLB retired]]
'''Note:''' Team colors are now added to the infobox automatically when a team is entered into the team field. The colors are taken from [[Template:MLBPrimaryColor]], [[Template:MLBSecondaryColor]], [[Template:MLBAltPrimaryColor]] and [[Template:MLBAltSecondaryColor]].
+
*[[Template:Infobox MLB player]]
 
+
[[Category:Baseball player infobox templates|Baseball player]]
{{{{FULLPAGENAME}}/doc}}
 
<!-- Add categories and interwikis to the /doc subpage, not here. -->
 
  
 +
[[da:Skabelon:Infoboks baseballspiller]]
 +
[[ja:Template:野球選手]]
 
</noinclude>
 
</noinclude>

Revision as of 13:18, 19 July 2008

{{{name}}}
Personal Info
Birth {{{birthdate}}}, {{{birthplace}}}
Professional Career
Debut {{{debutdate}}}, {{{debutteam}}} vs. {{{debutopponent}}}, {{{debutstadium}}}
Team(s) {{{teams}}}
Career Highlights
{{{careerhighlights}}}

If you wish to include this template in an article add the following to the article:

{{Infobox baseball player
|name             = 
|image name       = 
|birthdate        = 
|birthplace       = 
|deathdate        = 
|deathplace       = 
|debutdate        = 
|debutteam        = 
|debutopponent    = 
|debutstadium     = 
|teams            = 
|hofinductiondate = 
|careerhighlights = 
}}

See also

da:Skabelon:Infoboks baseballspiller ja:Template:野球選手