Jump to content

Template:Category TOC: Difference between revisions

From cernipedia
margin-right: 2em
m 98 revisions imported from wikipedia:Template:Category_TOC
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="display:block; margin-top: 1em; margin-right: 2em">{{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<!--
     -->|{{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}}]]<!--
     -->}}<!--
     -->}}<!--
-->}}<!--
-->}}<!--

Latest revision as of 13:22, 19 November 2026