Jump to content

Template:Category TOC: Difference between revisions

From cernipedia
m typo
m 98 revisions imported from wikipedia:Template:Category_TOC
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="display:block; margin-top: 1em">{{TOC top|align={{{align|}}}}}{{#if:{{{top|yes}}}|
<div style="display:block; margin-top: 1em; padding-right: 2em">{{TOC top|align={{{align|}}}}}{{#ifeq:{{{top|yes}}}|yes|
* [{{fullurl:{{FULLPAGENAME}}}} Top]}}{{#ifeq:{{{numerals|group}}}|group|
* [{{fullurl:{{FULLPAGENAME}}}} Top]}}{{#ifeq:{{{numerals|group}}}|group|
* [{{fullurl:{{FULLPAGENAME}}|from=0}} 0–9]}}{{#ifeq:{{{numerals|group}}}|separate|
* [{{fullurl:{{FULLPAGENAME}}|from=0}} 0–9]}}{{#ifeq:{{{numerals|group}}}|separate|
Line 9: Line 9:
{{TOC bottom}}</div><!--
{{TOC bottom}}</div><!--
--><includeonly><!--
--><includeonly><!--
  # Tracking categories
-->{{Category other<!--
-->{{Category other<!--
     -->|{{#ifexpr: {{PAGESINCATEGORY:{{PAGENAME}}|R}} < 100<!--
     -->|{{#switch: {{{align|}}}<!--
         -->|[[Category:Template Category TOC on category with less than 100 pages]]<!--
         # Track non-left alignment...
        -->|{{#ifexpr: {{PAGESINCATEGORY:{{PAGENAME}}|R}} < 200<!--
      -->|center|right=[[Category:Template Category TOC with non-left alignment|{{PAGENAME}}]]<!--
            -->|{{#ifeq: {{#lc: {{{CatAutoTOC|}}} }}|yes<!--
    -->}}{{#ifeq:{{{Automatic category TOC}}}|yes<!--
                -->|[[Category:Template Category TOC via CatAutoTOC on category with 100–199 pages]]<!--
        # ... and whether or not {{Automatic category TOC}} was used
                -->|[[Category:Template Category TOC without CatAutoTOC on category with 100–199 pages]]<!--
      -->|[[Category:Automatic category TOC generates standard Category TOC|{{PAGENAME}}]]<!--
            -->}}<!--
      -->|[[Category:Categories which use Category TOC without Automatic category TOC|{{PAGENAME}}]]<!--
        -->}}<!--
    -->}}<!--
    -->}}<!--
-->}}<!--
-->}}<!--
--></includeonly><!--
--></includeonly><!--

Latest revision as of 13:22, 19 November 2026