Template:CatAutoTOC: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>BrownHairedGirl
tweak
meta>BrownHairedGirl
namespace checking
Line 4: Line 4:
   # 100–1200 pages = {{Category TOC}}
   # 100–1200 pages = {{Category TOC}}
   # > 1200 pages = {{Large category TOC}}
   # > 1200 pages = {{Large category TOC}}
-->{{#ifexpr: {{PAGESINCATEGORY|{{PAGENAME}}|R}} > 1200 <!--
-->{{Category other|<!--
      -->|<!--
    -->{{#ifexpr: {{PAGESINCATEGORY|{{PAGENAME}}|R}} > 1200 <!--
            # > 1200, so large TOC
          -->|<!--
          -->{{Large category TOC}}<!--
                # > 1200, so large TOC
              -->{{Large category TOC}}<!--
           -->[[Category:CatAutoToc generates Large category TOC]]<!--
           -->[[Category:CatAutoToc generates Large category TOC]]<!--
      -->|<!--
          -->|<!--
            # < 1200, so check again
                # < 1200, so check again
          -->{{#ifexpr: {{PAGESINCATEGORY|{{PAGENAME}}|R}} > 100<!--
              -->{{#ifexpr: {{PAGESINCATEGORY|{{PAGENAME}}|R}} > 100<!--
              -->|<!--
                  -->|<!--
                    # > 100, so std TOC
                        # > 100, so std TOC
                  -->{{Category TOC}}<!--
                      -->{{Category TOC}}<!--
                  -->[[Category:CatAutoToc generates standard Category TOC]]<!--
                      -->[[Category:CatAutoToc generates standard Category TOC]]<!--
              -->|<!--
                  -->|<!--
                    # < 100, so no TOC
                        # < 100, so no TOC
                  -->[[Category:CatAutoToc generates no TOC]]<!--
                      -->[[Category:CatAutoToc generates no TOC]]<!--
          -->}}<!--
              -->}}<!--
-->}}</includeonly><noinclude>
    -->}}<!--
-->}}<!--
-->{{Template other|<--
    -->[[Category:Templates using CatAutoToc]]
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 23:32, 6 March 2019