Template:Euroleague color cell

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]
Team1234Contrast
1/24/3
Anadolu Efes Istanbul 16.016.48
Brose Baskets XX15.31
Crvena zvezda Telekom Belgrade XX15.31
EA7 Emporio Armani Milano 6.7421
Maccabi FOX Tel Aviv 7.47.4
Olympiacos 4.314.31
FC Barcelona Lassa 6.25.78
Panathinaikos 5.515.51
CSKA Moscow 4.716.01
FC Bayern Munich 5.155.03
Real Madrid 218.57
Stelmet Zielona Góra 3.991
Fenerbahçe Istanbul 11.639.71
Strasbourg XX15.31
Cedevita Zagreb 2.8121
Darüşşafaka Doğuş 3.9621
Khimki 10.8610.14
Žalgiris Kaunas 6.623.7
default XX15.31
Laboral Kutxa XX15.31
Dinamo Sassari 5.375.37
Limoges CSP 4.2514.97
Unicaja 11.635
Pınar Karşıyaka 6.214
Lokomotiv Kuban 4.694.8
The numeric columns are the calculated contrast ratio for the first/second and the fourth/third colors. Anything lower than 3 is very poor contrast and should be changed in the data module. For more information, see Template:Color contrast ratio.

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