Difference between revisions of "Template:CatAutoTOC"

From Black Movie Database WhoDat Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><!-- # TOC, depending on category size # <= 100 pages → no TOC # 101–1200 pages → {{Category TOC}} # > 1200 pages → {{Large category TOC}} -->...")
 
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<big>'''A-Z Index:''' <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|from=#}} #] [{{fullurl:{{FULLPAGENAME}}|from=A}} A] [{{fullurl:{{FULLPAGENAME}}|from=B}} B] [{{fullurl:{{FULLPAGENAME}}|from=C}} C] [{{fullurl:{{FULLPAGENAME}}|from=D}} D] [{{fullurl:{{FULLPAGENAME}}|from=E}} E] [{{fullurl:{{FULLPAGENAME}}|from=F}} F] [{{fullurl:{{FULLPAGENAME}}|from=G}} G] [{{fullurl:{{FULLPAGENAME}}|from=H}} H] [{{fullurl:{{FULLPAGENAME}}|from=I}} I] [{{fullurl:{{FULLPAGENAME}}|from=J}} J] [{{fullurl:{{FULLPAGENAME}}|from=K}} K] [{{fullurl:{{FULLPAGENAME}}|from=L}} L] [{{fullurl:{{FULLPAGENAME}}|from=M}} M] [{{fullurl:{{FULLPAGENAME}}|from=N}} N] [{{fullurl:{{FULLPAGENAME}}|from=O}} O] [{{fullurl:{{FULLPAGENAME}}|from=P}} P] [{{fullurl:{{FULLPAGENAME}}|from=Q}} Q] [{{fullurl:{{FULLPAGENAME}}|from=R}} R] [{{fullurl:{{FULLPAGENAME}}|from=S}} S] [{{fullurl:{{FULLPAGENAME}}|from=T}} T] [{{fullurl:{{FULLPAGENAME}}|from=U}} U] [{{fullurl:{{FULLPAGENAME}}|from=V}} V] [{{fullurl:{{FULLPAGENAME}}|from=W}} W] [{{fullurl:{{FULLPAGENAME}}|from=X}} X] [{{fullurl:{{FULLPAGENAME}}|from=Y}} Y] [{{fullurl:{{FULLPAGENAME}}|from=Z}} Z]</span></big>
  # 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:CatAutoTOC/core]], so that we never have  ####
        #### more than one call to the [[WP:EXPENSIVE]] function {{PAGESINCATEGORY}} ####
        #################################################################################
    -->{{CatAutoTOC/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 CatAutoTOC]] ...                          ####
        ####                                                                        ####
        #### ... 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 CatAutoTOC]]<!--
    -->}}<!--
-->}}</includeonly><noinclude>
{{Documentation}}
[[Category:Wikipedia CatAutoTOC]]
</noinclude>

Latest revision as of 10:31, 28 November 2023

A-Z Index: # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z