Template:CatAutoTOC: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(As tested in Template:CatAutoTOC/sandbox: use a sub-template Template:CatAutoTOC/core, so that we never have more than one call to the WP:EXPENSIVE function {{PAGESINCATEGORY}}) |
(The TOC templates don't help navigate subcats, so count only pages, not subcats: pagecount={{PAGESINCATEGORY:{{PAGENAME}}|pages|R}}) |
||
Line 12: | Line 12: | ||
################################################################################# |
################################################################################# |
||
-->{{CatAutoTOC/core<!-- |
-->{{CatAutoTOC/core<!-- |
||
-->|pagecount={{PAGESINCATEGORY |
-->|pagecount={{PAGESINCATEGORY:{{PAGENAME}}|pages|R}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |