Jump to content

Template:Category TOC: Difference between revisions

From cernipedia
{{lc:
move tracking to subpage Template:Category TOC/tracking, to allow more checks without increasing the number of calls to the expensive function {{PAGESINCATEGORY}}
Line 10: Line 10:
--><includeonly><!--
--><includeonly><!--
-->{{Category other<!--
-->{{Category other<!--
     -->|{{#ifexpr: {{PAGESINCATEGORY:{{PAGENAME}}|R}} < 100<!--
     -->|{{Category TOC/tracking<!--
        -->|[[Category:Template Category TOC on category with less than 100 pages]]<!--
         -->|pagecount={{PAGESINCATEGORY:{{PAGENAME}}|R}}<!--
         -->|{{#ifexpr: {{PAGESINCATEGORY:{{PAGENAME}}|R}} < 200<!--
        -->|CatAutoTOC={{lc:{{{CatAutoTOC|}}}}}<!--
            -->|{{#ifeq: {{lc: {{{CatAutoTOC|}}} }}|yes<!--
    -->}}<!--
                -->|[[Category:Template Category TOC via CatAutoTOC on category with 100–199 pages]]<!--
                -->|[[Category:Template Category TOC without CatAutoTOC on category with 100–199 pages]]<!--
            -->}}<!--
        -->}}<!--
    -->}}<!--
-->}}<!--
-->}}<!--
--></includeonly><!--
--></includeonly><!--

Revision as of 22:25, 4 April 2020