Template:CatAutoTOC: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>BrownHairedGirl The TOC templates don't help navigate subcats, so count only pages, not subcats: pagecount={{PAGESINCATEGORY:{{PAGENAME}}|pages|R}} |
m 24 revisions imported |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
# 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}} | ||
-->{{Category other|<!-- | -->{{Category other|<!-- | ||
################################################################################# | ################################################################################# | ||
| Line 12: | Line 12: | ||
################################################################################# | ################################################################################# | ||
-->{{CatAutoTOC/core<!-- | -->{{CatAutoTOC/core<!-- | ||
-->|pagecount={{PAGESINCATEGORY:{{PAGENAME}}| | -->|pagecount={{PAGESINCATEGORY:{{#invoke:HTMLDecode | HTMLDecode | text={{PAGENAME}} }}|R}}<!-- | ||
-->|align = {{{align|}}}<!-- | |||
-->|top = {{{top|}}}<!-- | |||
-->|numerals = {{{numerals|}}}<!-- | |||
-->|uppercase = {{{uppercase|}}}<!-- | |||
-->|lowercase = {{{lowercase|}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Latest revision as of 00:52, 3 September 2020
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.