Difference between revisions of "Template:TOC"

From The Utopian Encyclopedia
Jump to: navigation, search
m (I've changed my mind, floating is better.)
Line 1: Line 1:
{| style="background:transparent; width:100%"
+
{| style="background:transparent; width:100%; float:{{1|right}}"
 
|-
 
|-
| align="{{{1|right}}}"| __TOC__
+
| __TOC__
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 
Just a simple ToC template
 
Just a simple ToC template
  
Default adds a ToC, even if one isn't normally availiable, aligned to the right. at least it SHOULD.
+
Default adds a floated ToC, even if one isn't normally available, aligned to the right.
  
 
<nowiki>usage: {{TOC|left}}, {{TOC|right}}, {{TOC|center}}</nowiki>
 
<nowiki>usage: {{TOC|left}}, {{TOC|right}}, {{TOC|center}}</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 07:32, 17 November 2009

Just a simple ToC template

Default adds a floated ToC, even if one isn't normally available, aligned to the right.

usage: {{TOC|left}}, {{TOC|right}}, {{TOC|center}}