Help:TOC: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (updated entry, tidy page display, fix redirect) |
Hoof Hearted (talk | contribs) (wikilink template) |
||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
'''TOC''' is a common [[wp:Three-letter acronym| | '''TOC''' is a common [[wp:Three-letter acronym|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. | ||
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 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. | ||
Line 6: | Line 6: | ||
You can prevent a TOC from appearing anywhere by placing <code><nowiki>__NOTOC__</nowiki></code> anywhere within the edit box. | You can prevent a TOC from appearing anywhere by placing <code><nowiki>__NOTOC__</nowiki></code> anywhere within the edit box. | ||
If you want to force your TOC to the right margin, use <code | If you want to force your TOC to the right margin, use <code>{{tl|TOCright}}</code> [[:Category:Templates|template]] in the location the TOC should appear; as shown in this article. | ||
===See also=== | ===See also=== |
Revision as of 14:33, 13 September 2012
Template:TOCright TOC is a common 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.
You can force a TOC in an alternate position on the left margin by placing __TOC__
at the point where you desire said TOC.
You can prevent a TOC from appearing anywhere by placing __NOTOC__
anywhere within the edit box.
If you want to force your TOC to the right margin, use Template:Tl
template in the location the TOC should appear; as shown in this article.