Jump to content

සැකිල්ල: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.

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

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData 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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Class type1

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

Stringoptional
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}}


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Class/colour/ලේඛය&oldid=455752" වෙතින් සම්ප්‍රවේශනය කෙරිණි