Template:Class/colour
Jump to navigation
Jump to search
| This template is used on 7,200,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing changes on the talk page 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|CL}}
|
#ffff66
|
||
{{class/colour|FL}}
|
#9CBDFF
|
{{class/colour|SL}}
|
#FFA4A4
|
||
{{class/colour|FM}}
|
#9CBDFF
|
{{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}}
|
#E7B198
|
||
{{class/colour|Start}}
|
#ffaa66
|
{{class/colour|File}}
|
#ddccff
|
||
{{class/colour|Stub}}
|
#FFA4A4
|
{{class/colour|Merge}}
|
#add8e6
|
||
{{class/colour|List}}
|
#C7B1FF
|
{{class/colour|Needed}}
|
#dcdcdc
|
||
{{class/colour|NA}}
|
#f5f5f5
|
{{class/colour|Portal}}
|
#DDB1BC
|
||
{{class/colour|Current}}
|
#E6A4FF
|
{{class/colour|Redirect}}
|
#c0c0c0
|
||
{{class/colour|Future}}
|
#B4BBFF
|
{{class/colour|Template}}
|
#fbceb1
|
||
{{class/colour|SIA}}
|
#E9DAFF
|
{{class/colour|User}}
|
#b5b546
|
||
{{class/colour|AL}}
|
#66ffff
|
{{class/colour|Unassessed}}
|
transparent
|
||
{{class/colour|BL}}
|
#b2ff66
|
{{class/colour|FPo}}
|
#9CBDFF
|
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
| 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 | |||
|---|---|---|---|
| {{class|FA}} | {{class|FL}} | {{class|FM}} | {{class|A}} |
| 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 | |||
| Current | Future | SIA | |
| {{class|Current}} | {{class|Future}} | {{class|SIA}} | |
| BL | CL | SL | |
| {{class|AL}} | {{class|BL}} | {{class|CL}} | {{class|SL}} |
| Book | Category | Disambig | Draft |
| {{class|Book}} | {{class|Category}} | {{class|Disambig}} | {{class|Draft}} |
| File | Merge | Needed | Portal |
| {{class|File}} | {{class|Merge}} | {{class|Needed}} | {{class|Portal}} |
| Project | 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
- {{Article classification}}
- {{Grading scheme}}
- {{Assessment Class Summary}}
- {{Category class}}
- {{Articles by Quality}}
- {{Class}}
- {{Class/colour}}
- {{Class/icon}}
- Importance
- {{Article importance}}
- {{Importance scheme}}
- {{Assessment Importance Summary}}
- {{Category importance}} / {{Cat priority}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}
- Hybrid
- Others
- {{Articles by Quality Pie Graph}}
- {{Articles by Importance Pie Graph}}
- {{WikiProject progression rainbow}}
- {{WikiProject assessment progression}}
- Tool to add multiple templates to quality assessment pages
{{WPBannerMeta/templatepage/qualheader |project =|topic =}}
| The above documentation is transcluded from Template:Class/colour/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |