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

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 3 interwiki links, now provided by Wikidata on d:Q6419272)
imported>Funandtrvl
(fix code)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 26: Line 26:
 
* [[Template:Category class/sandbox]] - a sandbox for proposing large changes to this template.
 
* [[Template:Category class/sandbox]] - a sandbox for proposing large changes to this template.
 
{{Grading scheme/doc/see also}}
 
{{Grading scheme/doc/see also}}
<includeonly>
+
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Classification templates| ]]
 
[[Category:Classification templates| ]]
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE -->
+
}}</includeonly>
</includeonly>
 

Revision as of 23:06, 19 January 2016

Usage

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

or

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

Notes

This template can be used to add a navigation bar to "assessment by topic" category pages that follow the naming convention "Category: class-Class topic articles" (e.g. Category:Start-Class history articles) in order to facilitate navigation between the various assessment class categories for that topic. By default, the template will also add the category to the parent categories "Topic articles by quality" (e.g. History articles by quality) and "class-Class articles" (e.g. Start-Class articles).

  • |topic=Unassessed - If the "Unassessed" category exists, the link will go to "Unassessed topic articles".
  • |class=Image/Category/Disambig/Portal/Redirect/Template/Project/NA/etc. - If the corresponding category exists, the link will go to "class-Class topic articles".
  • |parent=WikiProject "parent" articles by quality - If the parent category does not match the child categories defined in topic, then use this parameter. See Category:FA-Class school articles for an example of this usage.
  • |custom1=, |custom2= (optional) - allows for addition of custom classes such as the Audio-Class, for example |custom1=Audio

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