RationalWiki:Help/TOC
From RationalWiki
If an article contains more than three headings, a Table Of Contents (TOC) will normally be created automatically.
If, for whatever reason, a TOC isn't wanted it can be switched off by including when editing: "__NOTOC__" (that's: "underscore, underscore,N,O,T,O,C,underscore,underscore"). It is usual to put this at the top of the page, it will not show in the page.
If "__FORCETOC__ "(2 x underscore each side) is used, then a TOC will occur before the first heading even if there are three or fewer headings.
Similarly if "__TOC__" (2 x underscore each side) is used, then a TOC will occur at the point where "__TOC__" is placed even if there are three or fewer headings. You can thus place the TOC at any point vertically or horizontally or in a table cell.
NB: "__TOC__" overrides __NOTOC__".
The table of contents can be forced into a floating table on the right hand of the screen with the code below:
{| align="right"
| __TOC__
|}
More on headers & sections.
| Help pages for RationalWiki | ||
|---|---|---|
| - RationalWiki -- Blocking -- Comments -- Standards -- Jargon -- Main help page -- Templates -- Bored -- Listing your creations -- Colors -- Image copyright -- Cover story -- Edit summary -- Summary abbreviations -- Editing etiquette -- Navigation -- Day counter -- Copying code -- Image -- Links -- Lists -- Lurking -- Common mistakes -- Namespaces -- Writing a new article -- Titling pages -- Permanent links -- Quotations -- Link colors -- References -- Why register -- Headers and sections -- Tables -- Template list -- Toolbar -- Watchlist -- Wikipedia help files -- Wiki language -- Signatures -- Vandalism -- A Newcomers' Guide -- Whitewash (the project) -- Side by side comparison -- Sysop guide -- Userboxen - | ||

