Jump to content

Template:Automatic category TOC: Difference between revisions

From cernipedia
m BrownHairedGirl moved page Template:Auto category TOC to Template:CatAutoTOC over redirect: revert undiscussed WP:BOLD move. The brief name is easier to use, and distinguishes this meta-template from the templates which do the actual work of generating a TOC. Feel free to open a WP:Requested moves discussion
bypass redirect to /core
Line 8: Line 8:
         #### This is a category page, so generate a TOC if needed.                  ####
         #### This is a category page, so generate a TOC if needed.                  ####
         ####                                                                        ####
         ####                                                                        ####
         #### Use a sub-template [[Template:Auto category TOC/core]], so that we never have  ####
         #### Use a sub-template [[Template:CatAutoTOC/core]], so that we never have  ####
         #### more than one call to the [[WP:EXPENSIVE]] function {{PAGESINCATEGORY}} ####
         #### more than one call to the [[WP:EXPENSIVE]] function {{PAGESINCATEGORY}} ####
         #################################################################################
         #################################################################################
     -->{{Auto category TOC/core<!--
     -->{{CatAutoTOC/core<!--
         -->|pagecount={{PAGESINCATEGORY:{{#invoke:HTMLDecode | HTMLDecode | text={{PAGENAME}} }}|R}}<!--
         -->|pagecount={{PAGESINCATEGORY:{{#invoke:HTMLDecode | HTMLDecode | text={{PAGENAME}} }}|R}}<!--
         -->|align    = {{{align|}}}<!--
         -->|align    = {{{align|}}}<!--

Revision as of 16:22, 3 June 2023