Difference between revisions of "Template:Category TOC/tracking"

From blackwiki
Jump to navigation Jump to search
imported>Callanecc
(Adding {{pp-template}})
imported>BrownHairedGirl
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude><includeonly><!--
+
<noinclude>{{pp-template|small=yes}}</noinclude><!--
-->{{#ifexpr: {{{pagecount|}}} < 100<!--
+
############################################################################
     -->|[[Category:Template Category TOC on category with less than 100 pages]]<!--
+
# NOTE: The sort key {{PAGENAME}} is used on all these tracking categories #
     -->|{{#ifexpr: {{{pagecount|}}} < 200<!--
+
#      to override any {{DEFAULTSORT}} used in the category              #
         -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
+
############################################################################
            -->|[[Category:Template Category TOC via CatAutoTOC on category with 100–199 pages]]<!--
+
--><includeonly><!--
            -->|[[Category:Template Category TOC without CatAutoTOC on category with 100–199 pages]]<!--
+
-->{{#ifexpr: {{{pagecount|}}} <= 0<!--
        -->}}<!--
+
     -->|[[Category:Template Category TOC on pages where PAGESINCATEGORY returns zero]]<!--
         -->|{{#ifexpr: {{{pagecount|}}} < 600<!--
+
     -->|{{#ifexpr: {{{pagecount|}}} <= 100<!--
 +
         -->|[[Category:Template Category TOC on category with up to 100 pages]]<!--
 +
         -->|{{#ifexpr: {{{pagecount|}}} <= 200<!--
 
             -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
 
             -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
                 -->|[[Category:Template Category TOC via CatAutoTOC on category with 200–599 pages]]<!--
+
                 -->|[[Category:Template Category TOC via CatAutoTOC on category with 101–200 pages|{{PAGENAME}}]]<!--
                 -->|[[Category:Template Category TOC without CatAutoTOC on category with 200–599 pages]]<!--
+
                 -->|[[Category:Template Category TOC without CatAutoTOC on category with 101–200 pages|{{PAGENAME}}]]<!--
 
             -->}}<!--
 
             -->}}<!--
             -->|{{#ifexpr: {{{pagecount|}}} <= 1200<!--
+
             -->|{{#ifexpr: {{{pagecount|}}} <= 300<!--
 
                 -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
 
                 -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
                     -->|[[Category:Template Category TOC via CatAutoTOC on category with 600–1200 pages]]<!--
+
                     -->|[[Category:Template Category TOC via CatAutoTOC on category with 201–300 pages|{{PAGENAME}}]]<!--
                     -->|[[Category:Template Category TOC without CatAutoTOC on category with 600–1200 pages]]<!--
+
                    -->|[[Category:Template Category TOC without CatAutoTOC on category with 201–300 pages|{{PAGENAME}}]]<!--
 +
                -->}}<!--
 +
                -->|{{#ifexpr: {{{pagecount|}}} <= 600<!--
 +
                    -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
 +
                        -->|[[Category:Template Category TOC via CatAutoTOC on category with 301–600 pages|{{PAGENAME}}]]<!--
 +
                        -->|[[Category:Template Category TOC without CatAutoTOC on category with 301–600 pages|{{PAGENAME}}]]<!--
 +
                     -->}}<!--
 +
                    -->|{{#ifexpr: {{{pagecount|}}} <= 900<!--
 +
                        -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
 +
                            -->|[[Category:Template Category TOC via CatAutoTOC on category with 601–900 pages|{{PAGENAME}}]]<!--
 +
                            -->|[[Category:Template Category TOC without CatAutoTOC on category with 601–900 pages|{{PAGENAME}}]]<!--
 +
                        -->}}<!--
 +
                            -->|{{#ifexpr: {{{pagecount|}}} <= 1200<!--
 +
                                -->|{{#ifeq: {{{CatAutoTOC|}}} |yes<!--
 +
                                    -->|[[Category:Template Category TOC via CatAutoTOC on category with 901–1200 pages|{{PAGENAME}}]]<!--
 +
                                    -->|[[Category:Template Category TOC without CatAutoTOC on category with 901–1200 pages|{{PAGENAME}}]]<!--
 +
                                -->}}<!--
 +
                                -->|<!-- #pagecount is > 1200
 +
                                  -->[[Category:Template Category TOC on category with over 1200 pages|{{PAGENAME}}]]<!--
 +
                            -->}}<!--
 +
                    -->}}<!--
 
                 -->}}<!--
 
                 -->}}<!--
                -->|<!-- #pagecount is > 1200
+
            -->}}<!--
                  -->[[Category:Template Category TOC on category with over 1200 pages]]<!--
 
            -->}}<!--
 
 
         -->}}<!--
 
         -->}}<!--
 
     -->}}<!--
 
     -->}}<!--
 +
-->}}<!--
 +
-->{{#switch: {{{align|}}}<!--
 +
    -->|center|right=[[Category:Template Category TOC with non-left alignment|{{PAGENAME}}]]<!--
 
-->}}<!--
 
-->}}<!--
 
--></includeonly><!--
 
--></includeonly><!--
 
--><noinclude><!--
 
--><noinclude><!--
-->{{documentation|content=This is a sub-template for [[Template:Category TOC]].  All the tracking is done via this template.}}<!--
+
-->{{documentation|content=This is a sub-template for [[Template:Category TOC]].  All the tracking is done via this template.
 +
== See also ==
 +
* [[:Template:Large category TOC/tracking]]
 +
}}<!--
 
--></noinclude>
 
--></noinclude>

Latest revision as of 16:36, 7 April 2020

50px Template documentation

This is a sub-template for Template:Category TOC. All the tracking is done via this template.

See also