Difference between revisions of "Template:Toc"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) |
|||
Line 4: | Line 4: | ||
;Usage | ;Usage | ||
− | :{{t| | + | :{{t|Toc|align}} |
− | :{{t| | + | :{{t|Toc|align|clear|width|limit}} |
;Optional parameters | ;Optional parameters | ||
− | <pre>{{ | + | <pre>{{Toc |
| align = the alignment of the table; defaults to Right | | align = the alignment of the table; defaults to Right | ||
| clear = equivalent of placing <br clear=> above the table; defaults to Right | | clear = equivalent of placing <br clear=> above the table; defaults to Right |
Latest revision as of 12:21, November 19, 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".
- 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 }}