Template:Compact ToC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added plus and minus.)
No edit summary
Line 1: Line 1:
__NOTOC__<div style="display:inline-flex;">{{CodeBlock| {{{name|Contents}}}:{{#if:{{{sym|}}}|&nbsp;[[#?|?]]|}}{{#if:{{{num|}}}|&nbsp;[[#0-9|0-9]]|}} [[#.2B|+]] [[#-|-]] [[#A|A]] [[#B|B]] [[#C|C]] [[#D|D]] [[#E|E]] [[#F|F]] [[#G|G]] [[#H|H]] [[#I|I]] [[#J|J]] [[#K|K]] [[#L|L]] [[#M|M]] [[#N|N]] [[#O|O]] [[#P|P]] [[#Q|Q]] [[#R|R]] [[#S|S]] [[#T|T]] [[#U|U]] [[#V|V]] [[#W|W]] [[#X|X]] [[#Y|Y]] [[#Z|Z]] }}</div><noinclude>
__NOTOC__<div style="display:inline-flex;">{{CodeBlock| {{{name|Contents}}}:{{#if:{{{@|}}}|&nbsp;[[#@|@]]|}}{{#if:{{{sym|}}}|&nbsp;[[#?|?]]|}}{{#if:{{{num|}}}|&nbsp;[[#0-9|0-9]]|}} [[#.2B|+]] [[#-|-]] [[#A|A]] [[#B|B]] [[#C|C]] [[#D|D]] [[#E|E]] [[#F|F]] [[#G|G]] [[#H|H]] [[#I|I]] [[#J|J]] [[#K|K]] [[#L|L]] [[#M|M]] [[#N|N]] [[#O|O]] [[#P|P]] [[#Q|Q]] [[#R|R]] [[#S|S]] [[#T|T]] [[#U|U]] [[#V|V]] [[#W|W]] [[#X|X]] [[#Y|Y]] [[#Z|Z]] }}</div><noinclude>





Revision as of 07:12, 11 October 2023

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


Template:ModernTodo

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.