Difference between revisions of "Template:Infobox baseball player"
Jump to navigation
Jump to search
imported>Cenarium (leveling) |
|||
| Line 1: | Line 1: | ||
| − | {| class="infobox" style="width: 25em; font-size: 95%;" | + | {| class="infobox bordered vcard" style="width: 25em; text-align: left; font-size: 95%;" |
| − | + | ! colspan="2" style="text-align:center; font-size:larger;" class="fn" | {{{name}}} | |
|- | |- | ||
| − | {{#if:{{{image | + | {{#if:{{{image<includeonly>|</includeonly>}}}| |
| − | {{ | + | <th colspan="2" style="text-align:center;">[[Image:{{{image}}}|{{{width|200}}}px]]<br> |
| − | {{!}} | + | {{{caption<includeonly>|</includeonly>}}}</th> |
| + | }} | ||
| + | |- | ||
| + | | colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}};"| <span style="{{MLBSecondaryColor|{{{team}}}}};" class="note">'''<span style="{{MLBSecondaryColor|{{{team}}}}};">{{{team}}}</span> — No. {{{number|--}}}'''</span> | ||
| + | |- style="text-align: center;" | ||
| + | {{#if:{{{position<includeonly>|</includeonly>}}}|{{!}} ! colspan="2" {{!}} '''[[{{{position}}}]]''' | ||
}} | }} | ||
| − | + | |- style="text-align: center;" | |
| − | |- style=" | + | {{#if:{{{positionplain<includeonly>|</includeonly>}}}|{{!}} ! colspan="2" {{!}} '''{{{positionplain}}}''' |
| − | |||
| − | |||
| − | |||
| − | {{#if:{{{ | ||
| − | {{!}} | ||
| − | {{!}} {{{ | ||
| − | |||
}} | }} | ||
| − | + | |- | |
| − | |- | + | {{#if:{{{birthdate<includeonly>|</includeonly>}}}{{{birthplace<includeonly>|</includeonly>}}}| |
| − | + | <th colspan="2" style="text-align:center;">Born: {{{birthdate<includeonly>|</includeonly>}}}{{#if:{{{birthdate<includeonly>|</includeonly>}}}|{{#if:{{{birthplace<includeonly>|</includeonly>}}}|<BR>}}}}{{{birthplace<includeonly>|</includeonly>}}}</th> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{#if:{{{ | ||
| − | {{ | ||
| − | {{ | ||
| − | {{ | ||
}} | }} | ||
| − | |||
|- | |- | ||
| − | | colspan="2" | {{{ | + | | 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>}}}| | ||
| + | {{!}}- | ||
| + | ! 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}}}]], }}{{#if:{{{debutyear|<noinclude>x</noinclude>}}}|[[{{{debutyear}}}]]}}{{#if:{{{debutteam|<noinclude>x</noinclude>}}}|{{#if:{{{debutyear|<noinclude>x</noinclude>}}}| for the }}{{{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>}}}| | ||
| + | <tr><th style="text-align:right">{{{stat1label}}} </th><td> {{{stat1value}}}</td></tr> | ||
| + | |||
| + | }}{{#if:{{{stat2label<includeonly>|</includeonly>}}}| | ||
| + | <tr><th style="text-align:right">{{{stat2label}}} </th><td> {{{stat2value}}}</td></tr> | ||
| + | |||
| + | }}{{#if:{{{stat3label<includeonly>|</includeonly>}}}| | ||
| + | <tr><th style="text-align:right">{{{stat3label}}} </th><td> {{{stat3value}}}</th></tr> | ||
| + | |||
| + | }}{{#if:{{{stat4label<includeonly>|</includeonly>}}}| | ||
| + | <tr><th style="text-align:right">{{{stat4label}}} </th><td> {{{stat4value}}}</th></tr> | ||
| + | |||
| + | }}{{#if:{{{stat5label<includeonly>|</includeonly>}}}| | ||
| + | <tr><th style="text-align:right">{{{stat5label}}} </th><td> {{{stat5value}}}</th></tr> | ||
| + | |||
| + | }}{{#if:{{{stat6label<includeonly>|</includeonly>}}}| | ||
| + | <tr><th style="text-align:right">{{{stat6label}}} </th><td> {{{stat6value}}}</th></tr> | ||
| + | |||
| + | }}<!--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 </th><td> {{{hofdate}}}</td></tr> | ||
| + | |||
| + | }}{{#if:{{{hofvote<includeonly>|</includeonly>}}}| | ||
| + | <tr><th style="text-align:right">Vote </td><td> {{{hofvote}}}</td></tr> | ||
| + | |||
| + | }}{{#if:{{{hofmethod<includeonly>|</includeonly>}}}| | ||
| + | <tr><th style="text-align:right">Election Method </th><td> {{{hofmethod}}}</td></tr> | ||
| + | }} | ||
|}<noinclude> | |}<noinclude> | ||
| + | '''If you want to make any changes here, please use [[/sandbox]] first.''' | ||
| − | + | '''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]]. | |
| − | + | {{{{FULLPAGENAME}}/doc}} | |
| − | {{ | + | <!-- Add categories and interwikis to the /doc subpage, not here. --> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | </ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 13:17, 19 July 2008
| {{{name}}} | |
|---|---|
| [[Image:{{{image}}}|200px]] {{{caption}}} |
|
| {{{team}}} — No. -- | |
| [[{{{position}}}]] | |
| {{{positionplain}}} | |
| Born: {{{birthdate}}} {{{birthplace}}} |
|
| Bats: {{{bats}}} | Throws: {{{throws}}} |
| Major League Baseball debut | |
| [[{{{debutdate}}}]], [[{{{debutyear}}}]] for the {{{debutteam}}} | |
| Selected MLB statistics (through {{{statyear}}}) | |
| {{{stat1label}}} | {{{stat1value}}} |
| {{{stat2label}}} | {{{stat2value}}} |
| {{{stat3label}}} | {{{stat3value}}} |
| {{{stat4label}}} | {{{stat4value}}} |
| {{{stat5label}}} | {{{stat5value}}} |
| {{{stat6label}}} | {{{stat6value}}} |
| Teams | |
| {{{teams}}} | |
| Highlights and awards | |
| {{{awards}}} | |
| Member of the National | |
| Elected | {{{hofdate}}} |
| Vote | {{{hofvote}}} |
| Election Method | {{{hofmethod}}} |
If you want to make any changes here, please use /sandbox first.
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 baseball player/doc