Template:Auto category TOC and Template:Auto category TOC/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
(Created page with "<includeonly><!-- # TOC, depending on category size # <= 100 pages → no TOC # 101–1200 pages → {{Category TOC}} # > 1200 pages → {{Large category TOC}} -->{{Category other|<!-- ####################################################################### #### This is a category page, so generate a TOC if needed. #### #### #### #### Use a sub-template Template:Automatic category TOC/core...")
 
(Created page with "<includeonly>{{Category other|{{Automatic category TOC/core|pagecount={{PAGESINCATEGORY:{{#invoke:HTMLDecode | HTMLDecode | text={{PAGENAME}} }}|R}}|align={{{align|}}}|top={{{top|}}}|numerals = {{{numerals|}}}|uppercase = {{{uppercase|}}}|lowercase = {{{lowercase|}}}}}}}{{Template other|{{#if: {{Str endswith|{{PAGENAME}}|/doc}}{{Str endswith|{{PAGENAME}}|/testcases}}{{Str endswith|{{PAGENAME}}|/sandbox}}||Category:Templates using Automatic category TOC}}}}</includeo...")
 
Line 1: Line 1:
<includeonly><!--
<includeonly>{{Category other|{{Automatic category TOC/core|pagecount={{PAGESINCATEGORY:{{#invoke:HTMLDecode | HTMLDecode | text={{PAGENAME}} }}|R}}|align={{{align|}}}|top={{{top|}}}|numerals  = {{{numerals|}}}|uppercase = {{{uppercase|}}}|lowercase = {{{lowercase|}}}}}}}{{Template other|{{#if: {{Str endswith|{{PAGENAME}}|/doc}}{{Str endswith|{{PAGENAME}}|/testcases}}{{Str endswith|{{PAGENAME}}|/sandbox}}||[[Category:Templates using Automatic category TOC]]}}}}</includeonly><noinclude>
  # TOC, depending on category size
  # <= 100 pages → no TOC
  # 101–1200 pages → {{Category TOC}}
  # > 1200 pages → {{Large category TOC}}
-->{{Category other|<!--
#######################################################################
#### This is a category page, so generate a TOC if needed.        ####
####                                                              ####
#### Use a sub-template [[Template:Automatic category TOC/core]],  ####
#### so that we never have more than one call to the              ####
#### [[BP:EXPENSIVE]] function {{PAGESINCATEGORY}}                ####
#######################################################################
    -->{{Automatic category TOC/core<!--
        -->|pagecount={{PAGESINCATEGORY:{{#invoke:HTMLDecode | HTMLDecode | text={{PAGENAME}} }}|R}}<!--
        -->|align     = {{{align|}}}<!--
        -->|top       = {{{top|}}}<!--
        -->|numerals  = {{{numerals|}}}<!--
        -->|uppercase = {{{uppercase|}}}<!--
        -->|lowercase = {{{lowercase|}}}<!--
    -->}}<!--
-->}}<!--
-->{{Template other<!--
    -->|<!--
#######################################################################
#### This page is a template, so categorise it                    ####
#### in [[Category:Templates using Automatic category TOC]] ...    ####
####                                                              ####
#### ... unless it is a /doc, /testcases or /sandbox              ####
####                                                              ####
#### There is no point categorising every sub-page of the          ####
#### same template                                                ####
#######################################################################
        -->{{#if: {{Str endswith|{{PAGENAME}}|/doc}}{{Str endswith|{{PAGENAME}}|/testcases}}{{Str endswith|{{PAGENAME}}|/sandbox}}<!--
        -->|<!--
              ### Don't categorise /doc, /testcases or /sandbox pages
        -->|<!--
              ### Not a /doc, /testcases or /sandbox page, so categorise it
            -->[[Category:Templates using Automatic category TOC]]<!--
    -->}}<!--
-->}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Bharatpedia Automatic category TOC]]
[[Category:Bharatpedia Automatic category TOC]]
</noinclude>
</noinclude>