Template talk:CompactTOC8

From Wikipedia, the free encyclopedia

Contents

[edit] Feature requests

[edit] Unused letters

I want the toc not to show unincluded letters! —Preceding unsigned comment added by 77.177.31.102 (talk) 01:16, August 25, 2007 (UTC)

I can probably code that in there, but its usage will be very tedious, something like |j=no|k=no|q=no|v=no|w=no|z=no, and it would have to be manually updated; MediaWiki template and ParserFunction syntax ain't exactly PHP; it can't auto-detect such things. — SMcCandlish [talk] [cont] ‹(-¿-)› 02:35, 27 August 2007 (UTC)

[edit] Sept. 2007 changes need documentation

Circeus and someone else have made a bunch of changes recently, and their effects are not reflected in the documentation. — SMcCandlish [talk] [cont] ‹(-¿-)› 19:09, 9 September 2007 (UTC)

They are, I'm pretty sure I didn't forget anything. I added 3 "custom" parameters (+legacy "Sec" for compatibility with other existing templates), and the letter replacement stuff. Am I forgetting anything? Circeus 19:43, 9 September 2007 (UTC)

[edit] Suggesting an "az=no" option

  • If CompactTOC8 is poised to emulate/replace all other TOC templates, I think there's at least one feature missing. Currently I have to use {{OnelinerTOC}} like this:
{{OnelinerTOC|notop=y|List|See also|References|External links}}

(I don't display the result here because it would disable the discussion page's own TOC, but the result can be seen at List of mountains in Peru.)

  • To emulate it with CompactTOC8, an az=no option would be needed, like this:
{{CompactTOC8|side=yes|nobreak=yes|az=no|custom1=List|seealso=yes|refs=yes|extlinks=yes}}

(I realize I could cancel each letter separately, but that's too much trouble ;-)

  • Also, since a non-alphabet linear TOC is a common need for many list articles, maybe there could also be a new shorthand, a "line1" keyword as first param, that would perform exactly the same as the two examples above with just:
{{CompactTOC8|line1|custom1=List|seealso=yes|refs=yes|extlinks=yes}}

(I've not evaluated how complicated it would be to implement this, though.)

— Komusou talk @ 20:03, 7 October 2007 (UTC)