Template:Baseball primary link
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
The above documentation is transcluded from Template:Baseball primary link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |