Template:TOC center/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{notice|This template is not for use in articles. Including it in the article namespace will re..." |
Caleb Cooper (talk | contribs) |
||
| Line 20: | Line 20: | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
||
[[ro:Format:TOC center]] |
|||
}}</includeonly> |
}}</includeonly> |
||
<templatedata> |
<templatedata> |
||
Latest revision as of 13:42, 22 October 2020
| This template is not for use in articles. Including it in the article namespace will result in a normal TOC being shown. |
| This template uses TemplateStyles: |
{{TOC center}} forces the auto-generated Table of Contents for an article to appear in a table that is floated at the center of the page, in order to improve page layout on non-article pages.
Usage
Insert {{TOC center/doc}} at the point in the article where you want the top of the Table of Contents box to appear.
See also
- Wikipedia:Help:Section
- Template:TOCleft(edit talk links history)
- Template:TOC right(edit talk links history)
- Help:Magic words
TOC center forces the auto-generated Table of Contents for an article to appear floated at the center of the page, in order to improve page layout on non-article pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Limit | limit | Limits the depth of subheadings shown
| Number | optional |