Template:CatAutoTOC/core: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>BrownHairedGirl add the sort key {{PAGENAME}} to all the tracking categories, to override any {{DEFAULTSORT}} used in the category |
m 10 revisions imported |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
# | # | ||
# TOC, depending on category size | # TOC, depending on category size | ||
# < 100 pages | # <= 100 pages → no TOC | ||
# | # 101–1200 pages → {{Category TOC}} | ||
# > 1200 pages | # > 1200 pages → {{Large category TOC}} | ||
########################################################################### | ########################################################################### | ||
| Line 15: | Line 15: | ||
-->|<!-- | -->|<!-- | ||
# > 1200, so large TOC | # > 1200, so large TOC | ||
-->{{Large category TOC|CatAutoTOC=yes}}<!-- | -->{{Large category TOC<!-- | ||
-->|CatAutoTOC=yes<!-- | |||
-->|pagecount={{{pagecount}}}<!-- | |||
-->}}<!-- | |||
-->[[Category:CatAutoTOC generates Large category TOC|{{PAGENAME}}]]<!-- | -->[[Category:CatAutoTOC generates Large category TOC|{{PAGENAME}}]]<!-- | ||
-->|<!-- | -->|<!-- | ||
# < 1200, so check again | # < 1200, so check again | ||
-->{{#ifexpr: {{{pagecount}}} > | -->{{#ifexpr: {{{pagecount}}} > 100<!-- | ||
-->|<!-- | -->|<!-- | ||
# > | # > 100, so std TOC | ||
-->{{Category TOC|CatAutoTOC=yes}}<!-- | -->{{Category TOC<!-- | ||
-->|pagecount={{{pagecount}}}<!-- | |||
-->|CatAutoTOC=yes<!-- | |||
-->|align = {{#if: {{{align|}}} | {{{align}}} |left}}<!-- | |||
-->|top = {{#if: {{{top|}}} | {{{top}}} |yes}}<!-- | |||
-->|numerals = {{#if: {{{numerals|}}} | {{{numerals}}} |group}}<!-- | |||
-->|uppercase = {{#if: {{{uppercase|}}} | {{{uppercase}}} |yes}}<!-- | |||
-->|lowercase = {{#if: {{{lowercase|}}} | {{{lowercase}}} |no}}<!-- | |||
-->}}<!-- | |||
-->[[Category:CatAutoTOC generates standard Category TOC|{{PAGENAME}}]]<!-- | -->[[Category:CatAutoTOC generates standard Category TOC|{{PAGENAME}}]]<!-- | ||
-->|<!-- | -->|<!-- | ||
# < 100, so no TOC | # <= 100, so no TOC | ||
-->[[Category:CatAutoTOC generates no TOC|{{PAGENAME}}]]<!-- | -->[[Category:CatAutoTOC generates no TOC|{{PAGENAME}}]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Latest revision as of 22:46, 3 September 2020
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.