Template:RightTOC: Difference between revisions

From OLPC
Jump to navigation Jump to search
(spacing...)
(trying new one to see if it fixes spacing from: http://en.wikiversity.org/w/index.php?title=Template:RightTOC&oldid=40366)
Line 1: Line 1:
<div style="clear:both;float:right;padding:10px;"> __TOC__</div>
{| cellspacing="0" cellpadding="0" style="clear:right; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{1|auto}}};"
| __TOC__
|}
<noinclude>
<noinclude>
== Usage: ==
== Usage: ==
Line 9: Line 11:
* Rev: 2008 01 16, added 'clear:both' to avoid collisions
* Rev: 2008 01 16, added 'clear:both' to avoid collisions
* Latest rev: http://notes.homelinux.org/index.php?title=Template:RightTOC
* Latest rev: http://notes.homelinux.org/index.php?title=Template:RightTOC

</noinclude>
</noinclude>

Revision as of 06:15, 30 June 2008

Usage:

  {{RightTOC}} 
  • NAME: RightTOC
  • DESC: Put in the top of your page, and the table of contents will be placed on the right hand side of the page. This uses the 'dead and unused space' on most wiki pages. While at the same time, putting the first line of content at the top of the page. :)
  • DATE: 2006-05-03. Started by User:IainD
  • Update: 2006-09-25, standardized across versions
  • Rev: 2008 01 16, added 'clear:both' to avoid collisions
  • Latest rev: http://notes.homelinux.org/index.php?title=Template:RightTOC