Template:Baseball primary link/doc
This is a documentation subpage for Template:Baseball primary link. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please 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"><span style="color:#Lua error in package.lua at line 80: module 'Module:Sports color/baseball' not found.">link text</syntaxhighlight> or <syntaxhighlight lang="wikitext"><span style="color:#Lua error in package.lua at line 80: module 'Module:Sports color/baseball' not found.">link target</syntaxhighlight>
For example:
<syntaxhighlight lang="wikitext"> <span style="color:#Lua error in package.lua at line 80: module 'Module:Sports color/baseball' not found.">Arizona <span style="color:#Lua error in package.lua at line 80: module 'Module:Sports color/baseball' not found.">Miami </syntaxhighlight>
Supported teams
See Module:Sports color/baseball.
Template:Sports color templates