Editing Template:TOCright/Doc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Summary == | == Summary == | ||
This template places a right-aligned table of contents (TOC) at the location where the template is placed. The TOC is in a floating table, so text will be placed side-by-side next to the TOC. | This template places a right-aligned table of contents (TOC) at the location where the template is placed. The TOC is in a floating table, so text will be placed side-by-side next to the TOC. | ||
+ | |||
+ | {{Template copied|TOCright}} | ||
== Parameters == | == Parameters == | ||
− | { | + | {{Parameters |
− | + | |1|optional|The maximum width of the table. Percentage or units are both acceptable; the unit or percent sign must be specified. | |
− | + | |limit|optional|The limit the subheaders shown in the TOC. For example, <code>limit{{=}}2</code> would only show level-1 or level-2 headers <nowiki>(=..= or ==..==)</nowiki>. (Default is 4.) | |
− | + | |clear|optional|Changes the setting for the CSS <code>clear</code> parameter, forcing other content to appear below the TOC on the side(s) specified. Possible values are left, right, both, or none. (Default is "right".) | |
− | + | }} | |
− | |1 | + | |
− | + | ||
− | |limit | + | |
− | + | ||
− | |clear | + | |
− | + | ||
== Example == | == Example == |