Template:Baseball primary link/doc
![]() | 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
<syntaxhighlight lang="wikitext">link text</syntaxhighlight> or <syntaxhighlight lang="wikitext">link target</syntaxhighlight>
For example:
<syntaxhighlight lang="wikitext"> Arizona Miami </syntaxhighlight>
Supported teams
See Module:Sports color/baseball.