From Wikipedia, the free encyclopedia
- 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}} |
|
One parameter |
{{CompactTOC6 | Sec1 = External links}} |
|
Two parameters |
{{CompactTOC6 | Sec3 = References | Sec1 = See also }} |
|
Three parameters |
{{CompactTOC6 | Sec2 = References | Sec3 = External links | Sec1 = See also }} |
|
[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)