Template:Compact ToC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
* <code>sym=</code> adds a link to symbols. | * <code>sym=</code> adds a link to symbols. | ||
* <code>num=</code> adds a link to numbers. | * <code>num=</code> adds a link to numbers. | ||
To make the underscore button work, please add this to the page: | To make the underscore button work, please add this to the page: | ||
{{code|select=all|<nowiki>===_<span id="Underscore"><!-- Workaround for links to section--></span>===</nowiki> | {{code|select=all|<nowiki>===_<span id="Underscore"><!-- Workaround for links to section--></span>===</nowiki> | ||
</noinclude> | |||
}} | }} |
Revision as of 04:25, 17 January 2024
Todo: Documentation
A more compact table of contents. Primarily designed for use on list pages, to save space. Takes the following parameters:
name=
defines a custom name for the table.sym=
adds a link to symbols.num=
adds a link to numbers.
To make the underscore button work, please add this to the page: ===_<span id="Underscore"><!-- Workaround for links to section--></span>===