Template:TOCleft

From Wikiporno
Jump to: navigation, search


Purpose

{{TOCleft}}

This template forces the auto-generated Table of Contents for an article to appear in a table that is floated to the left side of the page, in order to improve article layout.

Usage

Insert {{TOCleft}} at the point in the article where you want the top of the Table of Contents box to appear.

Example and cautions

← look to the left

Maybe be used with a {{-}} as to prevent images colliding with the TOC.

Note that this template should not be used when the result is to place the TOC in a visually poor location. A TOC that crosses a section division is probably a poor idea, if that can be avoided.

Unless the section in which the {{TOCleft}} is placed is long enough, the result may well be undesirable. Note particularly that if the TOC is floated left of a bulleted list, the bullets will be hidden.

An MOS entry on when to use this template, and the parallel template {{TOCright}} would probably be a good idea. A discussion is now (as of 7 July 2005) in progress at Wikipedia_talk:Manual_of_Style#Template:TOCright.

In general, it is probably better to insert {{TOCleft}} after the lead section, or at least the first paragraph.

History

  • Template & Documented 5 July 2005 by User:DESiegel
  • Created in response to the discussion of TOCright on TfD and elsewhere.
  • Changed style statement to match what would be seen for a floating image, which uses the "thumb tleft" classes. 7 July 2005 by Mikeuk:Шаблон:Зміст ліворуч

fi:Malline:TOCvasen