Editing Template:TOCright/Doc

Jump to: navigation, search

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 ==
{| class="wikitable"
+
{{Parameters
!colspan="3"| {{{template|{{BASEPAGENAME}}}}}
+
|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.)
! Parameter !! Scope !! Description
+
|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||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".)
+
|}
+
  
 
== Example ==
 
== Example ==

Please note that all contributions to Beyond Skyrim are considered to be released under the Creative Commons Attribution-ShareAlike (see Beyond Skyrim Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page: