Template:Multi-column TOC/doc

From CWS Planet
< Template:Multi-column TOC
Revision as of 15:29, 14 July 2022 by Alynnidalar (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua error in Module:TNT at line 160: attempt to index field 'data' (a nil value).

Supports widths of 20em, 25em (default), and 30em, maximum number of columns of 2 (default), 3, and 4.

Usage

Add {{multi-column TOC|20em|columns = 3}} to make the table of contents have a max of 3 columns with a minimum width of 20em. Uses WP:TemplateStyles, so it styles the table of contents wherever it is, and does not determine the position of the table of contents.