Template:Compact ToC: Difference between revisions

From Valve Developer Community
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.
</noinclude>


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

Contents: + - _ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


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>===