Help:TOC: Difference between revisions

Jump to navigation Jump to search
278 bytes added ,  3 January 2012
updated entry, tidy page display, fix redirect
m (fix category display order)
(updated entry, tidy page display, fix redirect)
Line 1: Line 1:
'''TOC''' means Table Of Contents.
{{TOCright}}
'''TOC''' is a common [[wp:Three-letter acronym|TLA]] for 'Table Of Contents'.  A table of contents is included automatically on the left margin of a page just before the first headline if there are four or more 'Headlines' (sub-headings) in an article.


A table of contents is included automatically on the left margin of a page just before the first headline if there are more than 3 Headlines.
You can force a TOC in an alternate position on the left margin by placing <code><nowiki>__TOC__</nowiki></code> at the point where you desire said TOC.


You can force it by <tt><nowiki>__TOC__</nowiki></tt>.
You can prevent a TOC from appearing anywhere by placing <code><nowiki>__NOTOC__</nowiki></code> anywhere within the edit box.


You can hide it by <tt><nowiki>__NOTOC__</nowiki></tt>.
If you want to force your TOC to the right margin, use <code><nowiki>{{TOCright}}</nowiki></code> in the location the TOC should appear; as shown in this article.


If you want to place your TOC to the right, use <nowiki>{{</nowiki>[[Template:TOCright|TOCright]]<nowiki>}}</nowiki> in the location the TOC should appear.
===See also===
----
*[[WikiIndex:Magic Words]]
see also [[Magic Words]]


[[Category:Help|Toc]]
[[Category:Help|Toc]]

Navigation menu