Difference between revisions of "Template:Category importance/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Funandtrvl
(update info)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
+
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
{{high use|9612}}
 
{{high use|9612}}
  
Line 19: Line 19:
 
* '''parent''' (optional) - set so that your importance categories are subcategories of "''parent'' articles by importance". If not defined, defaults to ''topic''.
 
* '''parent''' (optional) - set so that your importance categories are subcategories of "''parent'' articles by importance". If not defined, defaults to ''topic''.
  
=== Testing ===
+
== Tracking categories ==
The following tracking categories are being used to test whether the value of {{para|importance}} parameter could be derived from the page title:
+
The following tracking categories are being used to test this template:
* [[:Category:Template Category importance with importance parameter matching title]] (population: {{PAGESINCATEGORY|Template Category importance with importance parameter matching title}})
+
* {{clc|Template Category importance with importance parameter matching title}}
* [[:Category:Template Category importance with importance parameter not matching title]] (population: {{PAGESINCATEGORY|Template Category importance with importance parameter not matching title}})
+
* {{clc|Template Category importance with importance parameter not matching title}}
* [[:Category:Template Category importance with blank or missing importance parameter]] (population: {{PAGESINCATEGORY|Template Category importance with blank or missing importance parameter}})
+
* {{clc|Template Category importance with blank or missing importance parameter}}
 +
* {{clc|WikiProject assessment categories needing attention}}
  
 
<small>{{Purge page|''Purge page to update totals''}}</small>
 
<small>{{Purge page|''Purge page to update totals''}}</small>

Revision as of 04:34, 18 November 2020

Syntax

{{Category importance
 |topic      =
 |importance =
 |sort       =
 |parent     =
}}

Parameters

  • topic - set so that your category is, e.g. "High-importance topic articles"
  • importance - should be one of top, high, mid, low, NA, Unknown, or (rarely) Bottom or No
  • sort (optional) - the key you want to use to sort the category in its parent Category:Foo-importance articles
  • parent (optional) - set so that your importance categories are subcategories of "parent articles by importance". If not defined, defaults to topic.

Tracking categories

The following tracking categories are being used to test this template:

Purge page to update totals

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