Module:College color/data/doc: Difference between revisions

Content deleted Content added
Format: update
 
(12 intermediate revisions by 6 users not shown)
Line 1:
{{high-use| 50,000+}}
{{Module rating |beta}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Module rating |beta}}
This is the data module used by [[Module:College color]]. [[WP:CONTRAST|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.
{{High-use}}
This is the data module used by [[Module:College color]]. [[WP:CONTRAST|Color contrast]] should meet [[Web Content Accessibility Guidelines]] (WCAG) 2.0's AAA level when feasible (see {{section link|Wikipedia:Manual of Style/Accessibility#Color}}). Please test any changes in [[Module:College color/data/sandbox]] first.
 
== Format ==
Line 23:
== 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.
 
Also, remember to leave the pound sign (#) out of the hex codes when adding or changing colors, as in {{code|dcdcdc}}. Some ''other'' data modules require the pound sign. This module does not require it.
 
== Test table ==
{{#ifeq:{{SUBPAGENAME}}|sandbox
|{{#invoke:College color/contrast|testtable|data=Module:College color/data/sandbox|style=background:#FDFDFD}}
|{{#invoke:College color/contrast|testtable|style=background:#FDFDFD}}
}}
 
Line 50 ⟶ 52:
| > 4.5
|}
 
Normal wiki-text is rendered by common browsers at roughly 9.5 to 10.5&nbsp;pt (12.5 to 14&nbsp;px), depending on skin. Text would need to be about 180% or 140% bold to qualify as "Large" for [http://www.w3.org/TR/WCAG20/#larger-scaledef WCAG purposes].
 
{{Sports color templates}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Sports color modules]]
 
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>