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

From blackwiki
Jump to navigation Jump to search
imported>Vasconia
imported>Frietjes
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
{{lua|Module:Basketball color}}
 
{{lua|Module:Basketball color}}
{{#invoke:Basketball color|testtable|style=float:right;clear:right;margin-left:1em;
+
{{#invoke:Basketball color/contrast|testtable|style=float:right;clear:right;margin-left:1em;
 
| Anadolu Efes Istanbul
 
| Anadolu Efes Istanbul
 
| Brose Baskets
 
| Brose Baskets

Revision as of 16:29, 26 December 2016

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

Usage

{{Euroleague color|team name|number}}

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

{{Euroleague 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: #{{Euroleague color|CSKA Moscow|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{Euroleague color cell|CSKA Moscow}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{Euroleague color cell2|CSKA Moscow}}">Lorem ipsum</span>

Lorem ipsum