Jump to content

Module:Sports color/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frietjes (talk | contribs) at 14:34, 8 July 2018 (Test table). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This module is used by

{{Basketball color}}, {{Basketball color cell}}, {{Basketball color cell2}},
{{NBA color}}, {{NBA color cell}}, {{NBA color cell2}}
{{WNBA color}}, {{WNBA color cell}}, {{WNBA color cell2}}
{{Euroleague color}}, {{Euroleague color cell}}, {{Euroleague color cell2}},
{{NBL colour}}, {{NBL colour cell}}, {{NBL colour cell2}},
{{PBA color}}, {{PBA color cell}}, {{PBA color cell2}},
{{KBL color}}, {{KBL color cell}}, {{KBL color cell2}}
{{Infobox basketball biography/style}}

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/basketball.

Test table

Script error: The function "sport=basketball" does not exist.

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