Template talk:CompactTOC6

From Wikipedia, the free encyclopedia

[edit] Usage

Notes
  • Section names are arbitrary, use whatever section names the list has
  • Provide section names only, do not link
  • Parameters must be assigned to Sec1, Sec2, and/or Sec3—default parameters will not work
  • Parameters do not need to be assigned in order
  • Sec1 (if provided) appears before Sec2 and Sec3, Sec2 (if provided) appears before Sec3
Without parameters {{CompactTOC6}}
Contents
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
One parameter {{CompactTOC6 | Sec1 = External links}}
Contents
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
External links 
Two parameters {{CompactTOC6 | Sec3 = References | Sec1 = See also }}
Contents
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
See also  References 
Three parameters {{CompactTOC6 | Sec2 = References | Sec3 = External links | Sec1 = See also }}
Contents

[edit] Template origin

This is a new version of Template:CompactTOC3 with the links to Top and 0-9 removed; it's mainly for use on lists containing names only (and I never understood the usefulness of having a link to the top of the page, since TOCs usually appear at the top anyway). - dcljr (talk) 08:44, 26 May 2005 (UTC)

Oh, very well. I've added Top back in for consistency with other TOC templates. - dcljr (talk) 08:52, 26 May 2005 (UTC)

I've added parameters to allow this template to retain its original functionality as well as replace and expand the function of {{CompactTOC7}}, which I've nominated for deletion. BigNate37(T) 21:31, 25 August 2006 (UTC)