Difference between revisions of "Template:Basketball color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vasconia
imported>Frietjes
Line 25: Line 25:
  
 
==Table of colors==
 
==Table of colors==
{{#invoke:Basketball color|testtable}}
+
{{#invoke:Basketball color/contrast|testtable}}
  
 
<includeonly>
 
<includeonly>

Revision as of 16:17, 26 December 2016

Usage

{{Basketball color|team name|number}}

{{Basketball color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.

{{Basketball color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.

Examples

<span style="color: #{{Basketball color|default|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{Basketball color cell|default}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{Basketball color cell2|default}}">Lorem ipsum</span>

Lorem ipsum

Table of colors

Script error: No such module "Basketball color/contrast".