This is the template sandbox page for Template:Class/colour (diff). See also the companion subpage for test cases. |
This template uses a single unnamed parameter to output the colour used by each class type as a six digit hex code prefixed with a # symbol.
Syntax | Output | Colour | Syntax | Output | Colour |
---|---|---|---|---|---|
{{class/colour/sandbox|FA}}
|
#9cbdff
|
{{class/colour/sandbox|Book}}
|
#dcdcdc
|
||
{{class/colour/sandbox|FL}}
|
#9cbdff
|
{{class/colour/sandbox|Category}}
|
#ffdb58
|
||
{{class/colour/sandbox|FM}}
|
#9cbdff
|
{{class/colour/sandbox|Current}}
|
#e6a4ff
|
||
{{class/colour/sandbox|FPo}}
|
#9cbdff
|
{{class/colour/sandbox|Deferred}}
|
#d1bcac
|
||
{{class/colour/sandbox|A}}
|
#66ffff
|
{{class/colour/sandbox|Disambig}}
|
#00fa9a
|
||
{{class/colour/sandbox|AL}}
|
#66ffff
|
{{class/colour/sandbox|Draft}}
|
#e7b198
|
||
{{class/colour/sandbox|GA}}
|
#66ff66
|
{{class/colour/sandbox|File}}
|
#ddccff
|
||
{{class/colour/sandbox|B}}
|
#b2ff66
|
{{class/colour/sandbox|Audio}}
|
#ddccff
|
||
{{class/colour/sandbox|BL}}
|
#b2ff66
|
{{class/colour/sandbox|Future}}
|
#b4bbff
|
||
{{class/colour/sandbox|Complete}}
|
#b2ff66
|
{{class/colour/sandbox|Merge}}
|
#add8e6
|
||
{{class/colour/sandbox|C}}
|
#ffff66
|
{{class/colour/sandbox|Needed}}
|
#dcdcdc
|
||
{{class/colour/sandbox|CL}}
|
#ffff66
|
{{class/colour/sandbox|Portal}}
|
#ddb1bc
|
||
{{class/colour/sandbox|Substantial}}
|
#ffff66
|
{{class/colour/sandbox|Meta}}
|
#dcdcdc
|
||
{{class/colour/sandbox|Start}}
|
#ffaa66
|
{{class/colour/sandbox|Project}}
|
#c0c090
|
||
{{class/colour/sandbox|Basic}}
|
#ffaa66
|
{{class/colour/sandbox|Redirect}}
|
#c0c0c0
|
||
{{class/colour/sandbox|Stub}}
|
#ffa4a4
|
{{class/colour/sandbox|SIA}}
|
#e9daff
|
||
{{class/colour/sandbox|SL}}
|
#ffa4a4
|
{{class/colour/sandbox|Template}}
|
#fbceb1
|
||
{{class/colour/sandbox|Incomplete}}
|
#dcdcdc
|
{{class/colour/sandbox|User}}
|
#ddd06a
|
||
{{class/colour/sandbox|List}}
|
#c7b1ff
|
{{class/colour/sandbox|Unassessed}}
|
#dcdcdc
|
||
{{class/colour/sandbox|NA}}
|
#f5f5f5
|
||||
{{class/colour/sandbox|Topic}}
|
#dcdcdc
|
{{class/colour/sandbox|Help}}
|
#dcdcdc
|
Accessibility
editTo accommodate readers of Wikipedia who are partially or fully color-blind or visually impaired, the contrast of the text with its background colour should reach at least Web Content Accessibility Guidelines (WCAG) 2.0's AA level; see MOS:CONTRAST for further details. Class colours are typically used with blue linked text which uses colour #0645AD. You can check contrast levels with the following online tool: WebAIM Contrast Checker
Template data
editTemplateData for Class/colour
This template uses a single unnamed parameter to output the colour used by each class type as a six digit hex code prefixed with a # symbol
Parameter | Description | Type | Status | |
---|---|---|---|---|
Class type | 1 | One of FA, FL, FM, A, GA, B, C, Start, Stub, List, NA, Category, Current, Disambig, Audio, File, Future, Merge, Needed, Portal, Project, Redirect, Template, Book, Deferred, SL, Unassessed, or User | String | optional |
See also
editStandard class types | |||
---|---|---|---|
FA | FL | FM | A |
{{Class|FA}} | {{Class|FL}} | {{Class|FM}} | {{Class|A}} |
GA | B | C | Start |
{{Class|GA}} | {{Class|B}} | {{Class|C}} | {{Class|Start}} |
Stub | List | NA | ??? |
{{Class|Stub}} | {{Class|List}} | {{Class|NA}} | {{Class|Unassessed}} |
Non-standard class types | |||
Future | SIA | AL | |
{{Class|Future}} | {{Class|SIA}} | {{Class|AL}} | |
BL | CL | Category | |
{{Class|BL}} | {{Class|CL}} | {{Class|Category}} | |
Disambig | Draft | File | |
{{Class|Disambig}} | {{Class|Draft}} | {{Class|File}} | |
Needed | Portal | Project | Redirect |
{{Class|Needed}} | {{Class|Portal}} | {{Class|Project}} | {{Class|Redirect}} |
Template | User | ||
{{Class|Template}} | {{Class|User}} | ||
Importance types | |||
Top | High | Mid | Low |
{{Importance|Top}} | {{Importance|High}} | {{Importance|Mid}} | {{Importance|Low}} |
Bottom | NA | ??? | |
{{Importance|Bottom}} | {{Importance|NA}} | {{Importance|Unknown}} |
Class
edit- {{Article classification}}
- {{Grading scheme}}
- {{Assessment Class Summary}}
- {{Category class}}
- {{Articles by Quality}}
- {{Class}}
Importance
edit- {{Article importance}}
- {{Importance scheme}}
- {{Assessment Importance Summary}}
- {{Category importance}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}