Revision as of 19:49, 7 December 2024 view sourceFayenatic london (talk | contribs)Autopatrolled, Administrators335,704 edits another instance for FM pages← Previous edit | Revision as of 09:04, 20 December 2024 view source MSGJ (talk | contribs)Autopatrolled, Administrators130,779 edits use Module:Articles by qualityTag: ReplacedNext edit → | ||
Line 1: | Line 1: | ||
{{#invoke:Articles by quality|main}}<noinclude> | |||
__EXPECTUNUSEDCATEGORY__{{Category other|{{Possibly empty category}}}} | |||
{{documentation}} | |||
<table class="toccolours nomobile" style="table-layout:fixed;margin:1em auto;"> | |||
<tr> | |||
{{category class/column|class=FA|topic={{{topic|}}} | |||
}}{{category class/column|class=A|topic={{{topic|}}} | |||
}}{{category class/column|class=GA|topic={{{topic|}}} | |||
}}{{category class/column|class=B|topic={{{topic|}}} | |||
}}{{category class/column|class=C|topic={{{topic|}}} | |||
}}{{category class/column|class=Start|topic={{{topic|}}} | |||
}}{{category class/column|class=Stub|topic={{{topic|}}} | |||
}}{{category class/column|class=FL|topic={{{topic|}}} | |||
}}{{category class/column|class=AL|topic={{{topic|}}} | |||
}}{{category class/column|class=BL|topic={{{topic|}}} | |||
}}{{category class/column|class=CL|topic={{{topic|}}} | |||
}}{{category class/column|class=List|topic={{{topic|}}} | |||
}}{{category class/column|class=SIA|topic={{{topic|}}} | |||
}}{{category class/column|class=Future|topic={{{topic|}}} | |||
}}{{category class/column|class=Category|topic={{{topic|}}} | |||
}}{{category class/column|class=Disambig|topic={{{topic|}}} | |||
}}{{category class/column|class=Draft|topic={{{topic|}}} | |||
}}{{category class/column|class=FM|topic={{{topic|}}} | |||
}}{{category class/column|class=File|topic={{{topic|}}} | |||
}}{{category class/column|class=Needed|topic={{{topic|}}} | |||
}}{{category class/column|class=Portal|topic={{{topic|}}} | |||
}}{{category class/column|class=Project|topic={{{topic|}}} | |||
}}{{category class/column|class=Redirect|topic={{{topic|}}} | |||
}}{{category class/column|class=Template|topic={{{topic|}}} | |||
}}{{category class/column|class=User|topic={{{topic|}}} | |||
}}{{#if:{{{custom1|}}}|{{category class/column|class={{{custom1}}}|topic={{{topic|}}}}} | |||
}}{{#if:{{{custom2|}}}|{{category class/column|class={{{custom2}}}|topic={{{topic|}}}}} | |||
}}{{category class/column|class=NA|topic={{{topic|}}} | |||
}}{{category class/column|class=|topic={{{topic|}}} | |||
}}{{Class|Unassessed|category={{#if:{{{topic|}}}|{{{topic|}}} articles}}|bold=no}} | |||
</tr> | |||
<tr> | |||
{{category class/second row column|class=FA|topic={{{topic|}}} | |||
}}{{category class/second row column|class=A|topic={{{topic|}}} | |||
}}{{category class/second row column|class=GA|topic={{{topic|}}} | |||
}}{{category class/second row column|class=B|topic={{{topic|}}} | |||
}}{{category class/second row column|class=C|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Start|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Stub|topic={{{topic|}}} | |||
}}{{category class/second row column|class=FL|topic={{{topic|}}} | |||
}}{{category class/second row column|class=AL|topic={{{topic|}}} | |||
}}{{category class/second row column|class=BL|topic={{{topic|}}} | |||
}}{{category class/second row column|class=CL|topic={{{topic|}}} | |||
}}{{category class/second row column|class=List|topic={{{topic|}}} | |||
}}{{category class/second row column|class=SIA|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Future|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Category|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Disambig|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Draft|topic={{{topic|}}} | |||
}}{{category class/second row column|class=FM|topic={{{topic|}}} | |||
}}{{category class/second row column|class=File|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Needed|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Portal|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Project|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Redirect|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Template|topic={{{topic|}}} | |||
}}{{category class/second row column|class=User|topic={{{topic|}}} | |||
}}{{#if:{{{custom1|}}}|{{category class/second row column|class={{{custom1}}}|topic={{{topic|}}}}} | |||
}}{{#if:{{{custom2|}}}|{{category class/second row column|class={{{custom2}}}|topic={{{topic|}}}}} | |||
}}{{category class/second row column|class=NA|topic={{{topic|}}} | |||
}}{{category class/second row column|class=|topic={{{topic|}}} | |||
}}{{category class/second row column|class=Unassessed|topic={{{topic|}}}}} | |||
</tr> | |||
</table>{{#switch:{{{class|}}} | |||
|nocat | |||
|= | |||
|#default=]<!-- | |||
-->]<!-- | |||
-->{{#if:{{{topic|}}}|{{#if:{{{class|}}} | |||
|{{#ifeq:{{PAGENAME}}|{{PAGENAME:{{{class}}}{{#ifeq:{{lc:{{{class|}}}}}|unassessed||-Class}} {{{topic}}} {{#ifeq:{{{class}}}|FM|pages|articles}}}}| | |||
|] | |||
}} | |||
}}}} | |||
}}<!-- | |||
# Track whether the class parameter is actually needed | |||
-->{{Category other<!-- | |||
-->|<!-- | |||
-->{{#if: {{{class|}}}<!-- | |||
-->|<!-- | |||
-->{{#ifeq: {{ucfirst:{{{class|}}}}}|{{#invoke:String|replace|{{PAGENAME}}|^(%a+)-Class .+$|%1|1|false}}<!-- | |||
-->|]<!-- | |||
-->|<!-- | |||
-->{{#ifeq: {{ucfirst:{{{class|}}}}}|{{#invoke:String|replace|{{PAGENAME}}|^(Unassessed) .+$|%1|1|false}}<!-- | |||
-->|]<!-- | |||
-->|]<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->|<!-- | |||
-->]<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
--><noinclude><!-- | |||
-->{{Documentation}} | |||
</noinclude> | </noinclude> |
Revision as of 09:04, 20 December 2024
FA | A | GA | B | C | Start | Stub | FL | AL | BL | CL | List | SIA | Future | Category | Disambig | Draft | FM | File | Needed | Portal | Project | Redirect | Template | User | NA | ??? |
0 | 0 | 0 | 143 | 896 | 2,091 | 5,697 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4,988 |
This template uses Lua: |
This template is used on approximately 35,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
- {{cat class}}
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
Tracking categories
The following tracking categories are being used for this template:
- Category:Template Category class with class parameter matching title (0)
- Category:Template Category class with class parameter not matching title (0)
- Category:Template Category class with blank or missing class parameter (0)
- Category:WikiProject assessment categories needing attention (168)
See also
- Template:Category class/sandbox - a sandbox for proposing large changes to this template.
Standard class types | |||
---|---|---|---|
FA | FL | FM | A |
{{Class|FA}} | {{Class|FL}} | {{Class|FM}} | {{Class|A}} |
GA | B | C | Start |
{{Class|GA}} | {{Class|B}} | {{Class|C}} | {{Class|Start}} |
Stub | List | NA | ??? |
{{Class|Stub}} | {{Class|List}} | {{Class|NA}} | {{Class|Unassessed}} |
Non-standard class types | |||
Future | SIA | AL | |
{{Class|Future}} | {{Class|SIA}} | {{Class|AL}} | |
BL | CL | Category | |
{{Class|BL}} | {{Class|CL}} | {{Class|Category}} | |
Disambig | Draft | File | |
{{Class|Disambig}} | {{Class|Draft}} | {{Class|File}} | |
Needed | Portal | Project | Redirect |
{{Class|Needed}} | {{Class|Portal}} | {{Class|Project}} | {{Class|Redirect}} |
Template | User | ||
{{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}}
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}}
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: