Difference between revisions of "Template:TOCR"

From XileRO Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{wid...")
 
m
 
Line 1: Line 1:
<includeonly>{| 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}}}}}};"
+
<includeonly><div style="position:sticky;top:0;left:0">
 +
{| 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}}}}}};"
 
| __TOC__
 
| __TOC__
|}</includeonly><noinclude>
+
|}
 +
</div></includeonly><noinclude>
 
This template is used to make the table of contents appear on the right.  Its quite valuable for articles with very long table of contents.
 
This template is used to make the table of contents appear on the right.  Its quite valuable for articles with very long table of contents.
  
 
[[Category:Templates|TOCR]]
 
[[Category:Templates|TOCR]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:51, 30 September 2022

This template is used to make the table of contents appear on the right. Its quite valuable for articles with very long table of contents.