Template:Euroleague color cell
Jump to navigation
Jump to search
This template uses Lua: |
Team | 1 | 2 | 3 | 4 | Contrast | |
---|---|---|---|---|---|---|
1/2 | 4/3 | |||||
Anadolu Efes Istanbul | 16.01 | 6.48 | ||||
Brose Baskets | X | X | 15.31 | |||
Crvena zvezda Telekom Belgrade | X | X | 15.31 | |||
EA7 Emporio Armani Milano | 6.74 | 21 | ||||
Maccabi FOX Tel Aviv | 7.4 | 7.4 | ||||
Olympiacos | 4.31 | 4.31 | ||||
FC Barcelona Lassa | 6.2 | 5.78 | ||||
Panathinaikos | 5.51 | 5.51 | ||||
CSKA Moscow | 4.7 | 16.01 | ||||
FC Bayern Munich | 5.15 | 5.03 | ||||
Real Madrid | 21 | 8.57 | ||||
Stelmet Zielona Góra | 3.99 | 1 | ||||
Fenerbahçe Istanbul | 11.63 | 9.71 | ||||
Strasbourg | X | X | 15.31 | |||
Cedevita Zagreb | 2.81 | 21 | ||||
Darüşşafaka Doğuş | 3.96 | 21 | ||||
Khimki | 10.86 | 10.14 | ||||
Žalgiris Kaunas | 6.62 | 3.7 | ||||
default | X | X | 15.31 | |||
Laboral Kutxa | X | X | 15.31 | |||
Dinamo Sassari | 5.37 | 5.37 | ||||
Limoges CSP | 4.25 | 14.97 | ||||
Unicaja | 11.63 | 5 | ||||
Pınar Karşıyaka | 6.21 | 4 | ||||
Lokomotiv Kuban | 4.69 | 4.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
The above documentation is transcluded from Template:Euroleague color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |