Jump to content

Template:Automatic category TOC/core: Difference between revisions

From cernipedia
pass {{{pagecount}}} through to Template:Category TOC and Template:Large category TOC, to save them making another call to that expensive parser function
div tags to force a new line after this template
Line 1: Line 1:
<includeonly><!--
<includeonly><div style="display:block; margin-top: 1em; padding-right: 2em"><!--
   # Using a sub-template, so that we never have have more than one call to the [[WP:EXPENSIVE]] function {{PAGESINCATEGORY}}
   # Using a sub-template, so that we never have have more than one call to the [[WP:EXPENSIVE]] function {{PAGESINCATEGORY}}
   #
   #
Line 43: Line 43:
     -->|[[Category:CatAutoTOC on pages where PAGESINCATEGORY returns zero|{{PAGENAME}}]]<!--
     -->|[[Category:CatAutoTOC on pages where PAGESINCATEGORY returns zero|{{PAGENAME}}]]<!--
  -->}}<!--
  -->}}<!--
--></includeonly><noinclude>
--></div></includeonly><noinclude>
{{Documentation|Template:{{ROOTPAGENAME}}/doc}}
{{Documentation|Template:{{ROOTPAGENAME}}/doc}}
[[Category:Wikipedia CatAutoTOC]]
[[Category:Wikipedia CatAutoTOC]]
</noinclude>
</noinclude>

Revision as of 23:00, 30 September 2020