Module:College color/data/doc
| Ang Lua module na ito ay ginagamit ng 118,000+ pahina. Para makaiwas sa mga problema at load sa server, pakisubok muna ang anumang pagbabago sa subpahina ng module na /burador o /pagsubok, o sa sarili mong module sandbox. Maaaring idagdag ang mga pagbabagong ito sa pahina sa tulong ng ibang editor. Pag-usapan muna ang mga balak na pagbabago sa pahina ng usapan bago gawin ito. |
| This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
This is the data module used by Module:College color. Color contrast should meet Web Content Accessibility Guidelines (WCAG) 2.0's AAA level when feasible. Please test any changes in Module:College color/data/sandbox first.
Format
Most lines will be of the following form
["TEAM NAME"] = {"HEX1", "HEX2", name1="...", name2="...", cite="...", cite2="..."},
or
["TEAM NAME"] = {"HEX1", "HEX2", "HEX3", name1="...", name3="...", cite="...", cite2="..."},
The trailing comma is very important. Here, HEX1, HEX2, and HEX3 are hexadecimal color values. The name1, name2, and name3 are to display the names of the school colors in the infoboxes. The cite and cite2 parameters are used to supply up to two full citations with a URL for verification of the colors for a school's entry. Unsourced entries that are challenged may be deleted.
To use the same color for more than one team name (e.g., if the team goes by more than one name, but the colors are the same), use
["SECONDARY TEAM NAME"] = "TEAM NAME",
where TEAM NAME has already been defined, and SECONDARY TEAM NAME is the alternative spelling, or name.
Warning
Be very careful when updating this module, as it is used in a large number of articles. Please test any changes in Module:College color/data/sandbox first.
Test table
Kamalian sa iskrip: Walang ganyang modulo na "College color/contrast".
As a guide to selecting foreground and background colors for text, the Web Content Accessibility Guidelines 2.0 (guideline 1.4) classifies contrast ratios for ordinary text as follows:
| Font size | Not Compliant | Level AA | Level AAA |
|---|---|---|---|
| Normal | < 4.5 | 4.5 to 7.0 | > 7.0 |
| Large (18 pt or 14 pt bold) | < 3.0 | 3.0 to 4.5 | > 4.5 |
Normal wiki-text is rendered by common browsers at roughly 9.5 to 10.5 pt (12.5 to 14 px), depending on skin. Text would need to be about 180% or 140% bold to qualify as "Large" for WCAG purposes.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.