Template:BIC Basket color cell2
Jump to navigation
Jump to search
| This template uses Lua: |
Usage
{{BIC Basket color|team name|number}}
{{BIC Basket color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.
{{BIC Basket color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.
| Team | 1 | 2 | 3 | 4 | Contrast | |
|---|---|---|---|---|---|---|
| 1/2 | 4/3 | |||||
| Recreativo do Libolo | 9.9 | 9 | ||||
| Interclube | 16.01 | 21 | ||||
| Marinha de Guerra | 2.97 | 2.89 | ||||
| ASA | 2.53 | 2.53 | ||||
| Petro de Luanda | 8 | 8 | ||||
| Primeiro de Agosto | 4.73 | 21 | ||||
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.
Examples
<span style="color: #{{BIC Basket color|ASA|1}};">Lorem ipsum</span>
Lorem ipsum
<span style="{{BIC Basket color cell|Petro de Luanda}}">Lorem ipsum</span>
Lorem ipsum
<span style="{{BIC Basket color cell2|Recreativo do Libolo}}">Lorem ipsum</span>
Lorem ipsum
See also
| The above documentation is transcluded from Template:BIC Basket color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |