• New article from the Springfield Shopper: A Sneak Peek for “Treehouse of Horror Presents: Simpsons Wicked This Way Comes” has been released!
  • New article from the Springfield Shopper: Season 36 News: Even more Preview Images for “O C’mon All Ye Faithful” have been released!
  • New article from the Springfield Shopper: Season 36 News: The stories which the segments of “Simpsons Wicked This Way Comes” are based of have been announced!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:Toc"

Wikisimpsons - The Simpsons Wiki
m (new)
 
Line 15: Line 15:
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>
 +
<noinclude>[[Category: Templates]]</noinclude>

Revision as of 11:33, February 16, 2011

The ToC template aligns the "Table of Contents" in a page. The table may now be able to float at the left or right of a page and the text should wrap around it. This template can improve page layouts in certain cases. It can also force-insert a table of contents in pages where there are not enough sections for an automatic insertion of a "Table of Contents".

Usage
{{ToC|<align>}}
{{ToC|<align>|<clear>|<width>|<limit>}}
Optional parameters
{{ToC
| align = the alignment of the table; defaults to Right
| clear = equivalent of placing <br clear=> above the table; defaults to Right
| width = the width of the table; defaults to AUTO
| limit = the limit of the sections displayed; the default is no limits
}}