Difference between revisions of "Template:Importance/colour/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(fix code)
imported>Pauli133
m (fixing lint errors)
Line 3: Line 3:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
 
{| class="shortcutbox plainlist noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"
 
{| class="shortcutbox plainlist noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"
! <small>Redirects:
+
! Redirects:
 
* {{tl|Importance/color}}
 
* {{tl|Importance/color}}
 
* {{tl|Importance colour}}
 
* {{tl|Importance colour}}
Line 17: Line 17:
 
* {{tl|Prioritycolor}}
 
* {{tl|Prioritycolor}}
 
* {{tl|Prioritycol}}
 
* {{tl|Prioritycol}}
</small>
 
 
|}
 
|}
  

Revision as of 16:05, 2 September 2018

Redirects:

This template uses a single unnamed parameter to output the colour used by each importance type as a six digit hex code prefixed with a # symbol.

Syntax Output Colour
{{Importance/colour|Top}} #ff97ff
{{Importance/colour|High}} #ffacff
{{Importance/colour|Mid}} #ffc1ff
{{Importance/colour|Low}} #ffd6ff
{{Importance/colour|Bottom}} #ffebff
{{Importance/colour|No}} #ffffff
{{Importance/colour|NA}} #f5f5f5
{{Importance/colour|Core}} #ff97ff

See also

Standard class types
{{class|FA}} {{class|FL}} {{class|FM}} {{class|A}}
{{class|GA}} {{class|B}} {{class|C}} {{class|Start}}
{{class|Stub}} {{class|List}} {{class|NA}} {{class|Unassessed}}
Non-standard class types
{{class|Current}} {{class|Future}} {{class|SIA}} {{class|Deferred}}
{{class|AL}} {{class|BL}} {{class|CL}} {{class|SL}}
{{class|Book}} {{class|Category}} {{class|Disambig}} {{class|Draft}}
{{class|File}} {{class|Merge}} {{class|Needed}} {{class|Portal}}
{{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