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

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(test)
imported>Andrybak
m (better test)
 
Line 23: Line 23:
 
</tr>
 
</tr>
 
</table>{{#switch:{{{importance|}}}
 
</table>{{#switch:{{{importance|}}}
  |nocat=???
+
  |nocat=Foobar
 
  |=
 
  |=
 
  |#default=[[Category:{{{parent|{{{topic|}}} articles by importance}}}]]<!--
 
  |#default=[[Category:{{{parent|{{{topic|}}} articles by importance}}}]]<!--

Latest revision as of 21:45, 21 May 2020

 Top  High  Mid  Low  Bottom  NA  ??? 
  1    1    1    1    1    1    1  
Template documentation[view] [edit] [history] [purge]

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