TOC – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Remove level selection, add nonum) |
Lou Montana (talk | contribs) m (Add nonum, I said) |
||
Line 14: | Line 14: | ||
== Usage == | == Usage == | ||
{{<nowiki/>TOC|'''''mode'''''|'''''size'''''|'''''limit'''''}} | {{<nowiki/>TOC|'''''mode'''''|'''''size'''''|'''''limit'''''|'''''nonum'''''}} | ||
* mode: (Optional, default "normal" - case-insensitive) one of: | * mode: (Optional, default "normal" - case-insensitive) one of: | ||
** abc - a horizontal A..Z TOC (more of an ''index'') | ** abc - a horizontal A..Z TOC (more of an ''index'') |
Revision as of 01:14, 29 December 2020
Usage
{{TOC|mode|size|limit|nonum}}
- mode: (Optional, default "normal" - case-insensitive) one of:
- abc - a horizontal A..Z TOC (more of an index)
- horizontal - a horizontal TOC, where full titles are kept
- normal - the normal TOC - can be placed at the wanted position with this
- none - no TOC on the page (similar to )
- side - sets the TOC to the right
- size: (Optional, default 1) size in em (e.g .9 for 90%)
- limit: (Optional, default empty) sub-level limit (e.g 2)
- nonum: (Optional, default empty) y to hide numbers