This template is designed to be used with templates to automatically apply the color to a link corresponding to the primary style for a team in Major League Baseball and other professional leagues.

Usage

edit
{{Baseball primary link|TEAMNAME|link target|link text}}

or

{{Baseball primary link|TEAMNAME|link target}}

For example:

{{Baseball primary link|Arizona Diamondbacks|Arizona}}
{{Baseball primary link|Miami Marlins|Miami}}

Supported teams

edit

See Module:Sports color/baseball.