Template:Tocright/doc: Difference between revisions
Created page with "<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{TOC right}} # {{tl|TOC right}} forces the auto-generated Table of Contents for an article to appear in a table that is f..." |
EmperorZelos (talk | contribs) m 1 revision: Think this is all, saving it while I can |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
Insert <code>{{{{BASEPAGENAME}}}}</code> at the point in the article where you want the top of the Table of Contents box to appear. This should usually be after the text of the lead section, and just before the first section heading, in accordance with [[Wikipedia:Lead section#Elements of the lead]]. Use with {{tl|-}} or {{tl|clear}} to prevent collision with text; use the '''clear''' parameter (see below) to prevent collision with images. | Insert <code>{{{{BASEPAGENAME}}}}</code> at the point in the article where you want the top of the Table of Contents box to appear. This should usually be after the text of the lead section, and just before the first section heading, in accordance with [[Wikipedia:Lead section#Elements of the lead|Elements of the lead]]. Use with {{tl|-}} or {{tl|clear}} to prevent collision with text; use the '''clear''' parameter (see below) to prevent collision with images. | ||
=== Parameters (optional) === | === Parameters (optional) === | ||
| Line 25: | Line 25: | ||
It should only be used in cases where the TOC gets in the way of other content or is detrimental to the layout of the page; it should ''not'' simply be used for aesthetics since it tampers with the standard appearance of articles. See [[Wikipedia:Help:Section#Floating the TOC|Floating the TOC]] for further guidelines. | It should only be used in cases where the TOC gets in the way of other content or is detrimental to the layout of the page; it should ''not'' simply be used for aesthetics since it tampers with the standard appearance of articles. See [[Wikipedia:Help:Section#Floating the TOC|Floating the TOC]] for further guidelines. | ||
<noinclude>[[Category:Templates]][[Category:Functionality]][[Category:Template documentation]]</noinclude> | |||