Module:Sports color/doc: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
→Test table: moved the test table to Module talk:Sports color/testcases |
||
Line 27: | Line 27: | ||
* [[Module:Sports color/volleyball]] |
* [[Module:Sports color/volleyball]] |
||
== |
== Check == |
||
{{#invoke:{{BASEPAGENAME}}/contrast|testtable|sport=basketball|style=float:left; margin-right:5px;|note=}} |
|||
{{#invoke:{{BASEPAGENAME}}/contrast|testtable|sport=baseball|style=float:left; margin-right:5px;}} |
|||
{{#invoke:{{BASEPAGENAME}}/contrast|testtable|sport=ice hockey|style=float:left; margin-right:5px;}} |
|||
{{clear left}} |
|||
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|check}} to check to see if a team has defined colors |
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|check}} to check to see if a team has defined colors |
||
Revision as of 16:35, 24 December 2021
This module is used by
- {{Basketball color}}, {{Basketball color cell}}, {{Basketball color cell2}}
- {{Infobox basketball biography/style}}
- {{Baseball color}}
- {{Baseball primary style}}, {{Baseball secondary style}}
- {{Infobox MLB}}, {{Infobox baseball biography}}
- {{Navbox ice hockey}}
- {{Handball color}}, {{Handball color cell}}, {{Handball color cell2}}
- {{Esports color}}
Usage
{{#invoke:Sports color|color}}
in any of the various color templates{{#invoke:Sports color|colorcell}}
in any of the various color cell templates{{#invoke:Sports color|colorcell2}}
in any of the various color cell2 templates{{#invoke:Sports color|check}}
to check to see if a team has defined colors
Updating team colors
See:
- Module:Sports color/baseball
- Module:Sports color/basketball
- Module:Sports color/esports
- Module:Sports color/handball
- Module:Sports color/ice hockey
- Module:Sports color/unisport
- Module:Sports color/volleyball
Check
{{#invoke:Sports color|check}}
to check to see if a team has defined colors