Toggle menu
15
236
75
27.7K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Multi-column TOC/doc: Difference between revisions

Template page
Created page with "{{Documentation subpage}} {{Uses TemplateStyles|Template:Multi-column TOC/20em.css|Template:Multi-column TOC/25em.css|Template:Multi-column TOC/30em.css}} {{warning|Should not be used on articles, experimental code that may not display properly for all readers.}} {{Template display|vector2022}} Supports widths of 20em, 25em (default), and 30em, maximum number of columns of 2 (default), 3, and 4. <!-- Please place categories where indicated at the bottom of this page and..."
 
(No difference)

Latest revision as of 04:50, 22 February 2025

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.

Limitations

Since the Vector 2022 skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement or formatting of the TOC in that skin.