Jump to content

Template:Category TOC: Difference between revisions

From cernipedia
{{#ifexpr: {{PAGESINCATEGORY:{{PAGENAME}}|R}} < 100 |Category:Template Category TOC on category with less than 100 pages}}
m 98 revisions imported from wikipedia:Template:Category_TOC
 
(13 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 |[[Category:Template Category TOC on category with less than 100 pages]]}}<!--
     -->|{{#switch: {{{align|}}}<!--
        # Track non-left alignment...
      -->|center|right=[[Category:Template Category TOC with non-left alignment|{{PAGENAME}}]]<!--
    -->}}{{#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}}]]<!--
    -->}}<!--
-->}}<!--
-->}}<!--
--></includeonly><!--
--></includeonly><!--

Latest revision as of 13:22, 19 November 2026