Template:CatAutoTOC: Difference between revisions

namespace checking
(tweak)
(namespace checking)
Line 4:
# 100–1200 pages = {{Category TOC}}
# > 1200 pages = {{Large category TOC}}
-->{{Category other|<!--
-->{{#ifexpr: {{PAGESINCATEGORY|{{PAGENAME}}|R}} > 1200 <!--
-->|<!--
# --> 1200, so large TOC|<!--
-- # >{{Large category1200, so large TOC}}<!--
-->{{Large category TOC}}<!--
-->[[Category:CatAutoToc generates Large category TOC]]<!--
-->|<!--
# < 1200, so check again
-->{{#ifexpr: {{PAGESINCATEGORY|{{PAGENAME}}|R}} > 100<!--
-->|<!--
# > 100, so std TOC
-->{{Category TOC}}<!--
-->[[Category:CatAutoToc generates standard Category TOC]]<!--
-->|<!--
# < 100, so no TOC
-->[[Category:CatAutoToc generates no TOC]]<!--
-->}}<!--
-->|}}<!--
-->}}</includeonly><noinclude>
-->}}<!--
-->{{Template other|<--
-->[[Category:Templates using CatAutoToc]]
-->}}</includeonly><noinclude>
{{Documentation}}
</noinclude>