Jump to content

Module:Sports color/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Line 27: Line 27:
* [[Module:Sports color/volleyball]]
* [[Module:Sports color/volleyball]]


== Test table ==
== 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:

Check

  • {{#invoke:Sports color|check}} to check to see if a team has defined colors