Difference between revisions of "Template:Baseball secondary link"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
{{#if:{{{2|}}} | {{#if:{{{2|}}} | ||
| − | |[[{{{2}}}|<span style="color:#{{ | + | |[[{{{2}}}|<span style="color:#{{#invoke:Sports color|color|sport=baseball|{{{1}}}|4}}">{{{3|{{{2}}}}}}</span>]] |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:22, 9 July 2018
| 30px | This template uses Lua: |
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 in Major League Baseball and other professional leagues. It can be used in conjunction with Template:Baseball secondary color.
Usage
{{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}}
Supported teams
See Module:Sports color/baseball.
See also
- {{Baseball primary link}}
- {{Baseball primary color}}
- {{Baseball secondary color}}
- {{Baseball alternative primary color}}
- {{Baseball alternative secondary color}}
| The above documentation is transcluded from Template:Baseball secondary 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. |