Difference between revisions of "Template:TOCright"

From Gamehiker Wiki
Jump to navigation Jump to search
(New page: {| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" | __T...)
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
| __TOC__
 
| __TOC__
 
|}<noinclude>
 
|}<noinclude>
{{{{FULLPAGENAME}}/doc}}
+
This template will place the Table of Contents to the right of the text, rather than trailing on the side. This is useful for pages composed of long lists, but should be used only when it will not mess up the formatting of the individual list items on the page. This should not be used on pages that have Infoboxes.
<!-- Add cats and interwikis to the /doc subpage, not here! -->
+
 
 +
To use this code:<br>
 +
<nowiki>{{TOCright}}</nowiki>
 +
 
 +
 
 +
[[Category: Navigation Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:16, 9 October 2007

This template will place the Table of Contents to the right of the text, rather than trailing on the side. This is useful for pages composed of long lists, but should be used only when it will not mess up the formatting of the individual list items on the page. This should not be used on pages that have Infoboxes.

To use this code:
{{TOCright}}