Jump to content

Template:Infobox MLB yearly/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{Infobox MLB yearly
|name                    = 
|image                   = 
|image_size              = 
|caption                 = 
|season                  = 
|misc                    = 
|league                  = 
|division                = 
|ballpark                = 
|city                    = 
|record                  = 
|divisional_place        = 
|league_place            = 
|owner                   = <!-- or |owners = -->
|president               = 
|presbo                  = 
|general_manager         = <!-- or |general_managers = -->
|manager                 = <!-- or |managers = -->
|television              = 
|radio                   = 
|espntn                  = 
|brtn                    = 
}}

For the stats, enter the three-character abbreviation from here. Milwaukee would be mil and Minnesota would be min. On the brtn, the name is just the espntn capitalized. You can find the 3 character name from here.

Optional parameters:

  • prev_season, next_season — The template automatically links to the franchise's previous and next seasons, using the team's name to form the name of the appropriate article. There are some cases, however, that have to be handled manually:

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox MLB yearly in articles based on its TemplateData.

TemplateData for Infobox MLB yearly

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
seasonseason

The season the article is covering.

Example
2023
Numberrequired
namename

The team's name for this season.

Example
New York Yankees
Stringrequired
miscmisc

Miscellaneous information.

Unknownoptional
imageimage

An image of the team or team's logo for the season.

Unknownoptional
image_sizeimage_size

The size of the image.

Auto value
175px
Unknownoptional
altalt

Alt for the image.

Unknownoptional
captioncaption

Caption for the image.

Unknownoptional
leagueleague

The team's league for the season.

Unknownoptional
divisiondivision

The team's division for the season.

Unknownoptional
ballparkballpark

The team's ballpark for the season.

Unknownoptional
citycity

The team's home city for the season.

Unknownoptional
recordrecord

The team's record for the season.

Unknownoptional
league_placeleague_place

The team's place in the league for that season.

Unknownoptional
divisional_placedivisional_place

The team's place in the division that season.

Unknownoptional
ownersowners

The owners of the team for that season.

Unknownoptional
general_managergeneral_manager

The team's general manager for the season.

Unknownoptional
managermanager

The team's manager for the season.

Unknownoptional
managersmanagers

The team's managers for the season.

Unknownoptional
televisiontelevision

The team's local television for the season.

Unknownoptional
radioradio

The team's local radio for the season.

Unknownoptional
espntnespntn

The three-character team abbreviation of the team from ESPN.

Unknownoptional
ownerowner

The team's owner for the season.

Unknownoptional
presidentpresident

The team's president for the season.

Unknownoptional
presbopresbo

The team's president of baseball operations for the season.

Unknownoptional
brtnbrtn

The three-character team abbreviation of the team from baseball-reference.

Unknownoptional
prev_seasonprev_season

The link to the team's previous season if played under a different name.

Unknownoptional
next_seasonnext_season

The link to the team's previous season if played under a different name.

Unknownoptional
general_managersgeneral_managers

The team's general managers for the season.

Unknownoptional

Tracking categories

[edit]