Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Template:CompactToc"

From TWC Wiki
Jump to navigationJump to search
(Created page with "{| id="toc" class="toc" summary="Contents" style="text-align:center; {{{style|}}}" ! {{Mediawiki:Toc}} |- | 0–9 A B C D E F...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
===Quickcode===
 
===Quickcode===
 
To use this template, enter the following code either at ''the top of the page'' or ''the section of the page that contains the list''.  
 
To use this template, enter the following code either at ''the top of the page'' or ''the section of the page that contains the list''.  
  <nowiki>{{CompactTOC}}</nowiki>
+
  <nowiki>{{CompactToc}}</nowiki>
  
  
 
This gives the box at the very top.
 
This gives the box at the very top.
 
Clicking the letters or the numbers on the TOC automatically directs you to the section of the list with all names starting with intended character.</noinclude>
 
Clicking the letters or the numbers on the TOC automatically directs you to the section of the list with all names starting with intended character.</noinclude>
 +
 +
<noinclude>[[Category:Formatting Template]]</noinclude>

Latest revision as of 10:33, 14 May 2019

Contents
0–9 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

This template is intended for use on pages that contain long lists of things and may need a such Table of Contents for them.

I.E.,You might want to use this for a list of all Total War games and expansions, or a list of all ETW units.

Usage

Quickcode

To use this template, enter the following code either at the top of the page or the section of the page that contains the list.

{{CompactToc}}


This gives the box at the very top. Clicking the letters or the numbers on the TOC automatically directs you to the section of the list with all names starting with intended character.