Permanently protected template

Template:Class/colour

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]
Redirects:

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}} #6699ff {{class/colour|CL}} #ffff66
{{class/colour|FL}} #6699ff {{class/colour|SL}} #ff6666
{{class/colour|FM}} #6699ff {{class/colour|Book}} #98FF98
{{class/colour|A}} #66ffff {{class/colour|Category}} #ffdb58
{{class/colour|GA}} #66ff66 {{class/colour|Disambig}} #00fa9a
{{class/colour|B}} #b2ff66 {{class/colour|Deferred}} #999999
{{class/colour|C}} #ffff66 {{class/colour|Draft}} #d98159
{{class/colour|Start}} #ffaa66 {{class/colour|File}} #ddccff
{{class/colour|Stub}} #ff6666 {{class/colour|Merge}} #add8e6
{{class/colour|List}} #aa88ff {{class/colour|Needed}} #dcdcdc
{{class/colour|NA}} #f5f5f5 {{class/colour|Portal}} #cc8899
{{class/colour|Bplus}} #66ff66 {{class/colour|Project}} #c0c090
{{class/colour|Current}} #d870ff {{class/colour|Redirect}} #c0c0c0
{{class/colour|Future}} #8a95c9 {{class/colour|Template}} #fbceb1
{{class/colour|SIA}} #ccaaff {{class/colour|User}} #b5b546
{{class/colour|AL}} #66ffff {{class/colour|Unassessed}} transparent
{{class/colour|BL}} #b2ff66

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

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

Template parameters

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, B+, Book, Deferred, SL, Unassessed, or User

Default
empty
Example
empty
Auto value
empty
String optional

See also

Standard class types
Featured article FA  Featured list FL  Featured media FM  A-Class article A 
{{class|FA}} {{class|FL}} {{class|FM}} {{class|A}}
 GA  B-Class article B  C-Class article C  Start-Class article Start 
{{class|GA}} {{class|B}} {{class|C}} {{class|Start}}
Stub-Class article Stub   List   NA   ??? 
{{class|Stub}} {{class|List}} {{class|NA}} {{class|Unassessed}}
Non-standard class types
Bplus-Class article Bplus  Current-Class article Current  Future-Class article Future  SIA-Class article SIA 
{{class|Bplus}} {{class|Current}} {{class|Future}} {{class|SIA}}
A-Class list AL  B-Class list BL  C-Class list CL  Start-Class list SL 
{{class|AL}} {{class|BL}} {{class|CL}} {{class|SL}}
Wikipedia Book Book  Category page Category  Disambiguation page Disambig   Draft 
{{class|Book}} {{class|Category}} {{class|Disambig}} {{class|Draft}}
 File   Merge   Needed   Portal 
{{class|File}} {{class|Merge}} {{class|Needed}} {{class|Portal}}
 Project  Redirect page Redirect   Template   User 
{{class|Project}} {{class|Redirect}} {{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
Importance
Hybrid
Others
Tool to add multiple templates to quality assessment pages