| This template is used onapproximately 7,500 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them. |
| This template usesLua: |
This template is designed to be used with templates to automatically apply the color to a link corresponding to the secondary style for a team inMajor League Baseball and other professional leagues.
{{Baseball secondary link|TEAMNAME|link target|link text}}
or
{{Baseball secondary link|TEAMNAME|link target}}
For example:
{{Baseball secondary link|Arizona Diamondbacks|Arizona}}{{Baseball secondary link|Miami Marlins|Miami}}