This is a documentation subpage for Template:Baseball primary link. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 7,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
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
editSee Module:Sports color/baseball.