Template:Big toc/doc: Difference between revisions
(no longer nec) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''{{PAGENAME}}''' tames those massively long tables of content that can sometimes arise on this wiki. Whereas an unmodified TOC will simply put a division between the lead paragraph(s) and the "meat" of the article, using this template will tuck it away neatly on the right-hand side of the page. It is sized to fit seamlessly underneath infoboxes that have pictures sized to 250px. To use, just put immediately after the closing brackets of an infobox and before the first word of the lead. Alternately, if the article has no infobox, just place at before the first word of the lead. | '''{{tlx|{{PAGENAME}}}}''' tames those massively long tables of content that can sometimes arise on this wiki. Whereas an unmodified TOC will simply put a division between the lead paragraph(s) and the "meat" of the article, using this template will tuck it away neatly on the right-hand side of the page. It is sized to fit seamlessly underneath infoboxes that have pictures sized to 250px. To use, just put immediately after the closing brackets of an infobox and before the first word of the lead. Alternately, if the article has no infobox, just place at before the first word of the lead. | ||
For example: | For example: | ||
Line 5: | Line 5: | ||
{|infobox|}{{big toc}}'''Article name''' is . . . | {|infobox|}{{big toc}}'''Article name''' is . . . | ||
</pre> | </pre> | ||
==No longer necessary== | == No longer necessary == | ||
<div style="color:red">'''Please note that as of 28th February 2011 this template is | <div style="color:red">'''Please note that as of 28th February 2011 this template is mostly deprecated.'''</div> The original aim of the template was to forcibly move TOCs to the right side of a page. Since our CSS now does that automatically, there's not much of a need to use this template. | ||
You will occasionally see it in use on pages that have lead sections that are longer than the infobox, in order to bring the TOC up higher on the page. But it shouldn't be used on pages with moderate-to-small-sized leads. Nor should it be used in the main [[namespace]] to create a TOC on a short page. If an ''article'' has only two sections, for example, it doesn't deserve a TOC. A TOC shouldn't extend lower than the last line of the article text. | |||
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude> | |||
Latest revision as of 01:02, 26 January 2014
{{Big toc/doc}} tames those massively long tables of content that can sometimes arise on this wiki. Whereas an unmodified TOC will simply put a division between the lead paragraph(s) and the "meat" of the article, using this template will tuck it away neatly on the right-hand side of the page. It is sized to fit seamlessly underneath infoboxes that have pictures sized to 250px. To use, just put immediately after the closing brackets of an infobox and before the first word of the lead. Alternately, if the article has no infobox, just place at before the first word of the lead.
For example:
{|infobox|}{{big toc}}'''Article name''' is . . .
No longer necessary
The original aim of the template was to forcibly move TOCs to the right side of a page. Since our CSS now does that automatically, there's not much of a need to use this template.
You will occasionally see it in use on pages that have lead sections that are longer than the infobox, in order to bring the TOC up higher on the page. But it shouldn't be used on pages with moderate-to-small-sized leads. Nor should it be used in the main namespace to create a TOC on a short page. If an article has only two sections, for example, it doesn't deserve a TOC. A TOC shouldn't extend lower than the last line of the article text.