Difference between revisions of "Template:Tocright"

From UnderWiki
Jump to navigation Jump to search
m (→‎Examples: Changed category.)
 
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
== Parameters ==
 
== Parameters ==
{| class="sotawikitable"
+
{| class="wikitable"
 
! Parameter
 
! Parameter
 
! Explanation
 
! Explanation
Line 21: Line 21:
  
 
== Examples ==
 
== Examples ==
{| class="sotawikitable"
+
{| class="wikitable"
 
| <pre><nowiki>{{tocright}}</nowiki></pre>
 
| <pre><nowiki>{{tocright}}</nowiki></pre>
 
| Places the table of contents to the top right of the article body.
 
| Places the table of contents to the top right of the article body.

Latest revision as of 07:09, 2 February 2015

Purpose[edit]

This template may be used to place the table of contents of a page to the right. This template is used at the top of the articles.

Usage[edit]

{{tocright}}
{{tocright|limit}}

Parameters[edit]

Parameter Explanation
1 (limit) The limit of the header level.

Examples[edit]

{{tocright}}
Places the table of contents to the top right of the article body.
{{tocright|2}}
Limits the index depth to 2 levels (eg. Sections n and n.1 but not Section n.1.1)