Anonymous user
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 <!--
-->|<!--▼
-->{{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]]
{{Documentation}}
</noinclude>
|