Bản mẫu:KBL color cell

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Cách sử dụng[sửa mã nguồn]

{{KBL color|tên đội|số}}

{{KBL color cell|tên đội}} returns a style that uses the primary color for the background and the secondary color for the font.

{{KBL color cell2|tên đội}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.

Đội1234Độ tương phản
1/24/3
Anyang KGC 4.7321
Busan KT Sonicboom 214.41
Changwon LG Sakers 6.0721
Goyang Orions 11.564.95
Incheon ET Land Elephants 3.168.59
Jeonju KCC Egis 10.322.63
Seoul Samsung Thunders 8.215.08
Seoul SK Knights 4.962.71
Ulsan Mobis Phoebus 4.3721
Wonju Dongbu Promy 3.413.41
South Korea national basketball team 11.925.89
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 Bản mẫu:Color contrast ratio.

Các ví dụ[sửa mã nguồn]

<span style="color: #{{KBL color|Seoul Samsung Thunders|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{KBL color cell|Seoul Samsung Thunders}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{KBL color cell2|Seoul Samsung Thunders}}">Lorem ipsum</span>

Lorem ipsum

Xem thêm[sửa mã nguồn]