සැකිල්ල:Class/colour
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes at yes before implementing them. |
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|FA}}
|
#9CBDFF
|
{{class/colour|Book}}
|
#98FF98
|
||
{{class/colour|FL}}
|
#9CBDFF
|
{{class/colour|Category}}
|
#FFDB58
|
||
{{class/colour|FM}}
|
#9CBDFF
|
{{class/colour|Current}}
|
#E6A4FF
|
||
{{class/colour|FPo}}
|
#9CBDFF
|
{{class/colour|Deferred}}
|
#D1BCAC
|
||
{{class/colour|A}}
|
#66FFFF
|
{{class/colour|Disambig}}
|
#00FA9A
|
||
{{class/colour|AL}}
|
#66FFFF
|
{{class/colour|Draft}}
|
#E7B198
|
||
{{class/colour|GA}}
|
#66FF66
|
{{class/colour|File}}
|
#DDCCFF
|
||
{{class/colour|B}}
|
#B2FF66
|
{{class/colour|Audio}}
|
#DDCCFF
|
||
{{class/colour|BL}}
|
#B2FF66
|
{{class/colour|Future}}
|
#B4BBFF
|
||
{{class/colour|Complete}}
|
#B2FF66
|
{{class/colour|Merge}}
|
#ADD8E6
|
||
{{class/colour|C}}
|
#FFFF66
|
{{class/colour|Needed}}
|
#DCDCDC
|
||
{{class/colour|CL}}
|
#FFFF66
|
{{class/colour|Portal}}
|
#DDB1BC
|
||
{{class/colour|Substantial}}
|
#FFFF66
|
{{class/colour|Meta}}
|
#DDB1BC
|
||
{{class/colour|Start}}
|
#FFAA66
|
{{class/colour|Project}}
|
#C0C090
|
||
{{class/colour|Basic}}
|
#FFAA66
|
{{class/colour|Redirect}}
|
#C0C0C0
|
||
{{class/colour|Stub}}
|
#FFA4A4
|
{{class/colour|SIA}}
|
#E9DAFF
|
||
{{class/colour|SL}}
|
#FFA4A4
|
{{class/colour|Template}}
|
#FBCEB1
|
||
{{class/colour|Incomplete}}
|
#FFA4A4
|
{{class/colour|User}}
|
#DDD06A
|
||
{{class/colour|List}}
|
#C7B1FF
|
{{class/colour|Unassessed}}
|
transparent
|
||
{{class/colour|NA}}
|
#F5F5F5
|
Accessibility
[සංස්කරණය]To 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 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
[සංස්කරණය]TemplateData for Class
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
[සංස්කරණය]Standard 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
[සංස්කරණය]- {{Article classification}}
- {{Grading scheme}}
- {{Assessment Class Summary}}
- {{Category class}}
- {{Articles by Quality}}
- {{Class}}
Importance
[සංස්කරණය]- {{Article importance}}
- {{Importance scheme}}
- {{Assessment Importance Summary}}
- {{Category importance}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}