ഫലകം:Infobox MLB player/doc
This is a documentation subpage for ഫലകം:Infobox MLB player. It may contain usage information, categories and other content that is not part of the original ഫലകം page. |
This template can be used to add at-a-glance comparative information to articles on Major League Baseball players.
Team colors are now added to the infobox automatically when a team is entered into the team field. The colors are taken from Template:Baseball primary color, Template:Baseball secondary color, Template:Baseball alternative primary color and Template:Baseball alternative secondary color.
Usage
തിരുത്തുകCopy and paste the template below:
{{Infobox MLB player | name = | image = | position = | birth_date = <!-- {{birth date and age|YYYY|MM|DD}} --> | birth_place = | death_date = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) --> | death_place = | bats = | throws = | debutdate = | debutyear = | debutteam = | finaldate = | finalyear = | finalteam = | stat1label = | stat1value = | stat2label = | stat2value = | stat3label = | stat3value = | teams = }}
To use the full version, use this template:
{{Infobox MLB player | name = | image = | image_size = | alt = | caption = | team = | number = | position = | positionplain = | birth_date = <!-- {{birth date and age|YYYY|MM|DD}} --> | birth_place = | death_date = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) --> | death_place = | bats = | throws = | debutdate = | debutyear = | debutteam = | finaldate = | finalyear = | finalteam = | statyear = | stat1label = | stat1value = | stat2label = | stat2value = | stat3label = | stat3value = | stat4label = | stat4value = | stat5label = | stat5value = | stat6label = | stat6value = | highlights = | teams = | hofdate = | hofvote = | hofmethod = | hoffuture = (set to true if the player has been announced but not inducted) }}
Parameters
തിരുത്തുകPlease refer to Wikipedia:WikiProject Baseball/Player style advice for guidance on what to include in an MLB player's infobox.
Note that all of these parameters are optional—it is better not to include one than to include misleading or incomplete information. For a nineteenth-century player about whom almost nothing is known, it may be better to forgo the infobox completely than to have an empty skeleton.
Field Name | Description | ||
---|---|---|---|
name | name of player | ||
| |||
image | filename of the image of the player, not preceded by "Image:" (optional) | ||
image_size | width of image in pixels, don't use unless smaller than 200 (optional, defaults to 200) | ||
alt | alt text for image, for visually impaired readers; see WP:ALT | ||
caption | caption text for image (optional) | ||
team | current team | ||
number | current uniform number | ||
position | the position(s) primarily played by the player now (active players) or in their career (retired players): Pitcher, Catcher, First baseman, Second baseman, Third baseman, Shortstop, Left fielder, Center fielder or Right fielder. | ||
birth_date | For living players: {{birth date and age|YYYY|MM|DD}} , where YYYY is the year, MM is month, and DD is dayFor deceased players: {{birth date|YYYY|MM|DD}} , where YYYY is the year, MM is month, and DD is day
| ||
death_date | NOTE: Only if the player is deceased: {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} , with death date followed by birth date, where YYYY is the year, MM is month, and DD is day
| ||
bats | Left, Right, Switch, or Unknown | ||
throws | Left, Right, or Unknown | ||
debutdate | debut date (Month and day only) | ||
debutyear | debut year | ||
debutteam | debut team | ||
statyear | the year or date that the stats listed below apply to | ||
stat1label | the most important statistic for evaluating this player. Will vary according to what the player is most well known for. | ||
stat1value | the value of that statistic. | ||
stat2label | another statistic (up to six can be used--in exceptional cases!) | ||
stat2value | etc. | ||
stat3label | |||
stat3value | |||
stat4label | |||
stat4value | |||
stat5label | |||
stat5value | |||
stat6label | |||
stat6value | |||
highlights | list of career highlights; see Wikipedia:WikiProject Baseball/Player style advice#Infobox for guidance | ||
teams | list of teams (former and present) the player has played for, with their years. Note that the "formerteams" option is deprecated and should be converted to teams. Teams should be shown in chronological order (years played in parentheses), like this:
| ||
hofdate | if the player is a member of the National Baseball Hall of Fame, enter the date (or at least year) that he was elected. Setting this tag will make a Hall of Fame banner appear. (note that {{Infobox baseball biography}} also has these fields and may be more appropriate)
| ||
hofvote | put details of the HoF vote (if any) here. | ||
hofmethod | put details of the method elected (veteran's committee, Negro league, etc.) here. Leave blank if a standard vote | ||
hoffuture | declare this variable (any value, but "true" is an obvious choice) for players who have elected to the HoF but who have not yet been inducted. This variable will modify the HoF banner to say "Incoming Member"; the purpose of this is to reduce arguments from editors about whether or not to include the HoF section before the induction date. |
Examples
തിരുത്തുകAll Options On (+HoF) | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name | |
Career statistics (through 2005) | |
Batting average | .340 |
Runs batted in | 586 |
Home runs | 233 |
Teams | |
Induction | March 20, 2007 |
Vote | 88% (first ballot) |
Election Method | Veteran's Committee |
No Teams Listed | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name | |
Career statistics (through 2005) | |
Batting average | .340 |
Runs batted in | 586 |
Home runs | 233 |
No Stats | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name | |
Teams | |
No Stats, No Teams | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name |
Two Stats | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name | |
Career statistics (through 2005) | |
Batting average | .340 |
Runs batted in | 586 |
Teams | |
No Caption | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name | |
Career statistics (through 2005) | |
Batting average | .340 |
Runs batted in | 586 |
Home runs | 233 |
Teams | |
No Image | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name | |
Career statistics (through 2005) | |
Batting average | .340 |
Runs batted in | 586 |
Home runs | 233 |
Teams | |
All Options Off | |
---|---|
Team Name – No. 99 | |
Position | |
Bats: Bats | Throws: Throws |
MLB debut | |
June 1, 2000 for the Team Name |
Microformat
തിരുത്തുകThe HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
തിരുത്തുകDate-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
തിരുത്തുകhCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
TemplateData
തിരുത്തുകവിവരണമൊന്നുമില്ല.
ചരം | വിവരണം | തരം | സ്ഥിതി | |
---|---|---|---|---|
Name | name | Name of Player. | പദം | ആവശ്യമാണ് |
Image | image | Image of Player | താൾ | ഐച്ഛികം |
position | position | Position at which the player playes | പദം | ഐച്ഛികം |
Image alternative text | alt | Alt text to display if the image specified by image_name does not display for whatever reason | പദം | ഐച്ഛികം |
Image caption | caption | Caption for the image. | പദം | ഐച്ഛികം |
Pseudonym | pseudonym | Name used by the artist(artist name) | പദം | ഐച്ഛികം |
Birth Name | birth_name | Nomenclature at the time of birth | പദം | ഐച്ഛികം |
Birth Date | birth_date | Date of birth and age of player | വരി | ഐച്ഛികം |
Birth Place | birth_place | Player's place of birth | പദം | ഐച്ഛികം |
Death Date | death_date | Date of death of player | വരി | ഐച്ഛികം |
Death Place | death_place | Player's place of death | പദം | ഐച്ഛികം |
Bats | bats | Arm that is used by the player to bat | പദം | ഐച്ഛികം |
Throws | throws | Arm that is used by the player to throw | പദം | ഐച്ഛികം |
Debut Date | debutdate | Date of debut of the player(Month and date) | വരി | ഐച്ഛികം |
Debut Year | debutyear | Year of debut | എണ്ണം | ഐച്ഛികം |
Debut Team | debutteam | Team for which the player made his debut | പദം | ഐച്ഛികം |
Final Date | finaldate | Date of the final match played by the player(Month and date) | വരി | ഐച്ഛികം |
Final Year | finalyear | Year of final match | എണ്ണം | ഐച്ഛികം |
Final Team | finalteam | Team for which the player played his final game | പദം | ഐച്ഛികം |
Stat1Label | stat1label | Most important statistic for evaluating the player | പദം | ഐച്ഛികം |
Stat1Value | stat1value | Value of the statistic | പദം | ഐച്ഛികം |
Teams | teams | Teams that the player played for | പദം | ഐച്ഛികം |
See also
തിരുത്തുക