This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:AlphaTOC: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
imported>Hardvice
thieving from Wikipedia
 
imported>Hardvice
+link to WP help for template
Line 14: Line 14:
*suppressing the automatic table of contents: <code>notoc</code>; and,
*suppressing the automatic table of contents: <code>notoc</code>; and,
*each of the links also has its own parameter which when used suppresses the display of the link.
*each of the links also has its own parameter which when used suppresses the display of the link.
For more help using this template, see the original Wikipedia [http://en.wikipedia.org/wiki/Template_talk:AlphanumericTOC discussion page]


[[Category: Templates]]
[[Category: Templates]]
[[Category: Page Elements]]
[[Category: Page Elements]]
</noinclude>
</noinclude>

Revision as of 16:44, 29 January 2007

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
Top of PageSee alsoReferencesExternal links


Usage

Insert {{AlphaTOC}} at the point in the article where you want the TOC to appear. If using with a list, many editors have found it helpful to insert a TOC at both the beginning and end of the list.

Parameters

Toggling the style and display of elements within the TOC is accomplished by adding parameters with a null value (in the form |parameter=|). This is a short list which will be expanded upon further in the following text:

  • block v. inline formatting: multiline, nobreak;
  • table alignment: align;
  • addition of prefixes to the links: prefixLink, prefixDesc;
  • suppressing the automatic table of contents: notoc; and,
  • each of the links also has its own parameter which when used suppresses the display of the link.

For more help using this template, see the original Wikipedia discussion page