Template:Class/colour/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}} {{#invoke:Message box|ombox}}

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

Template data

<TemplateData> {

       "description": "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",
       "params": {
               "1": {
                       "label": "Class type",
                       "description": "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",
                       "type": "string",
                       "required": false
               }
       }

} </TemplateData>

See also

Standard class types
Featured article FA  A-Class article A  File:Symbol support vote.svg GA  B-Class article B 
{{class|FA}} {{class|A}} {{class|GA}} {{class|B}}
C-Class article C  Start-Class article Start  Stub-Class article Stub  Featured list FL 
{{class|C}} {{class|Start}} {{class|Stub}} {{class|FL}}
File:Symbol list class.svg List  Featured media FM  File:Symbol neutral vote.svg NA  File:Symbol question.svg ??? 
{{class|List}} {{class|FM}} {{class|NA}} {{class|Unassessed}}
Non-standard class types
Wikipedia Book Book  Category page Category  File:Symbol question.svg Current  Disambiguation page Disambig 
{{class|Book}} {{class|Category}} {{class|Current}} {{class|Disambig}}
File:Video-x-generic.svg File  File:Symbol question.svg Future  File:Symbol question.svg Merge  File:Symbol question.svg Needed 
{{class|File}} {{class|Future}} {{class|Merge}} {{class|Needed}}
File:Portal-puzzle.svg Portal  File:Symbol information vote.svg Project  Redirect page Redirect  File:Symbol template class.svg Template 
{{class|Portal}} {{class|Project}} {{class|Redirect}} {{class|Template}}
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
Tool to add multiple templates to quality assessment pages