词条 | Module:College color/data/doc | ||||||||||||
释义 |
This is the data module used by College color. Color contrast should meet Web Content Accessibility Guidelines (WCAG) 2.0's AAA level when feasible. Please test any changes in College color/data/sandbox first. FormatMost 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, 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 WarningBe very careful when updating this module, as it is used in a large number of articles. Please test any changes in College color/data/sandbox first. Test table{{#ifeq:{{SUBPAGENAME}}|sandbox|{{#invoke:College color/contrast|testtable|data=Module:College color/data/sandbox}} |{{#invoke:College color/contrast|testtable}} }} 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:
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. }} |
||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。