Template:RightTOC: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (added 'clear:both' to avoid collisions)
No edit summary
 
(2 intermediate revisions by one other user not shown)
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: ==

'''Notice:''' See [[Template:TOCright]] for another, more featured alternative.

''' <nowiki>{{RightTOC}}</nowiki> '''
''' <nowiki>{{RightTOC}}</nowiki> '''
* NAME: RightTOC
* NAME: RightTOC

Latest revision as of 21:17, 1 August 2010

Usage:

Notice: See Template:TOCright for another, more featured alternative.

  {{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