Jump to content

Template:Category TOC: Difference between revisions

From cernipedia
{{{top}}} hasn't worked as documented since it was added in 2009, and judging by the edit summary I wouldn't be surprised if it came from another template where it also didn't work as expected
Line 9: Line 9:
{{TOC bottom}}</div><!--
{{TOC bottom}}</div><!--
--><includeonly><!--
--><includeonly><!--
  # Tracking categories
-->{{Category other<!--
-->{{Category other<!--
     -->|{{Category TOC/tracking<!--
     -->|{{#switch: {{{align|}}}<!--
         -->|pagecount={{{pagecount|{{PAGESINCATEGORY:{{#invoke:HTMLDecode | HTMLDecode | text={{PAGENAME}} }}|R}}}}}<!--
         # Track non-left alignment...
         -->|CatAutoTOC={{lc:{{{CatAutoTOC|}}}}}<!--
      -->|center|right=[[Category:Template Category TOC with non-left alignment|{{PAGENAME}}]]<!--
        -->|align={{{align|}}}<!--
    -->}}{{#ifeq:{{{Automatic category TOC}}}|yes<!--
         # ... and whether or not {{Automatic category TOC}} was used
      -->|[[Category:Automatic category TOC generates standard Category TOC|{{PAGENAME}}]]<!--
      -->|[[Category:Categories which use Category TOC without Automatic category TOC|{{PAGENAME}}]]<!--
     -->}}<!--
     -->}}<!--
-->}}<!--
-->}}<!--

Revision as of 14:32, 14 August 2026