Difference between revisions of "Template:Importance/colour/sandbox"
Jump to navigation
Jump to search
imported>Ahecht (Reverted to revision 366934897 by Plastikspork (talk): Restore old version to fix talk page. (TW)) |
imported>Ahecht |
||
| Line 1: | Line 1: | ||
<includeonly>{{#tag:nowiki|{{#switch:{{lc:{{{1|}}}}} | <includeonly>{{#tag:nowiki|{{#switch:{{lc:{{{1|}}}}} | ||
| − | | top = # | + | | top = #ff97ff |
| − | | high = # | + | | high = #ffacff |
| − | | mid = # | + | | mid = #ffc1ff |
| − | | low = # | + | | low = #ffd6ff |
| − | | bottom = # | + | | bottom = #ffebff |
| no = #ffffff | | no = #ffffff | ||
| na = #f5f5f5 | | na = #f5f5f5 | ||
| − | | core = # | + | | core = #ff97ff |
| unknown = transparent | | unknown = transparent | ||
| #default = transparent | | #default = transparent | ||
Latest revision as of 14:09, 16 September 2018
| This is the template sandbox page for Template:Importance/colour (diff). See also the companion subpage for test cases. |
| This template is used on 3,630,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
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
- {{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}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}
- Hybrid
- Others
- {{Articles by Quality Pie Graph}}
- {{Articles by Importance Pie Graph}}
- {{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:Importance/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. |