Difference between revisions of "Template:TOCright/doc"

 
m
Line 1: Line 1:
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
==Purpose==
 +
When included in a page it produces a table of contents floating on the right side of the page, as shown.
 +
 
==Usage==
 
==Usage==
;&#123;{TOCright}}:when included in a page it produces a table of contents floating on the right side of the page, as shown.
+
;Code:<code>{&#123;{{PAGENAME}}|<span style="color: violet">'''Value'''</span>}}</code>
 +
 
 +
 
 +
;All Parameters:
 +
:*'''Unnamed parameter 1''' (Optional): as long as this parameter is defined it forces the TOC to be a width equal to <span style="color: violet">'''Value'''</span>. <span style="color: violet">'''Value'''</span> should be a positive number appended with a CSS unit of measurement.
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Utility templates|TOCright]]
+
[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|TOCright]]
+
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
  
 
</includeonly>
 
</includeonly>

Revision as of 03:25, 29 January 2007

Template:Template doc page viewed directly

Purpose

When included in a page it produces a table of contents floating on the right side of the page, as shown.

Usage

Code
{{TOCright/doc|Value}}


All Parameters
  • Unnamed parameter 1 (Optional): as long as this parameter is defined it forces the TOC to be a width equal to Value. Value should be a positive number appended with a CSS unit of measurement.