Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Difference between revisions of "Template:Toc right"

From Appropedia
Jump to: navigation, search
(copyedit)
(undo box)
Line 1: Line 1:
<div style=" width:{{#if:{{{width}}}|{{{width|auto}}}|auto}}; font-size:{{#if:{{{font-size}}}|{{{font-size|96%}}}|96%}}; float: right; margin-left: 10px; margin-bottom: 10px;  padding: 4px; border: {{#if:{{{border-width}}}|{{{border-width|0px}}}|0px}} solid {{#if:{{{border-color}}}|{{{border-color|#A3BFA3}}}|#A3BFA3}}; height:<includeonly>{{#if:{{{height}}}|{{{height|auto}}}|auto}};</includeonly><noinclude>{{#if:{{{height}}}|{{{height|500px}}}|500px}};</noinclude> overflow: auto; overflow-x:hidden">
 
 
{| 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}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}
 
{| 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}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}
 
| __TOC__
 
| __TOC__
|}</div><noinclude>
+
|}<noinclude>
 
+
{{documentation}}
== Usage ==
+
<!-- Add categories to the /doc subpage, not here! -->
 
+
;Simple version
+
<pre>
+
{{TOC right}}
+
</pre>
+
 
+
;Optional paramaters
+
<pre>
+
{{TOC right
+
  |width=
+
  |height=
+
  |font-size=
+
  |border-width=
+
  |border-color=
+
}}
+
</pre>
+
 
+
;Defaults
+
  |width=auto - can be % or px
+
  |height=auto - can be px, 500px = about 25 lines
+
  |font-size=96% - can be px
+
  |border-width=0px
+
  |border-color=#A3BFA3 - can be name
+
 
+
== 2 ==
+
== 3 ==
+
== 4 ==
+
== 5 ==
+
== 6 ==
+
== 7 ==
+
== 8 ==
+
== 9 ==
+
== 10 ==
+
== 11 ==
+
== 12 ==
+
== 13 ==
+
== 14 ==
+
== 15 ==
+
== 16 ==
+
== 17 ==
+
== 18 ==
+
== 19 ==
+
== 20 ==
+
== 21 ==
+
== 22 ==
+
== 23 ==
+
== 24 ==
+
== 25 ==
+
== 26 ==
+
== 27 ==
+
== 28 ==
+
== 29 ==
+
== 30 ==
+
 
+
[[Category:Table of contents templates]]
+
 
</noinclude>
 
</noinclude>

Revision as of 21:04, 21 July 2012

[create] Documentation icon Template documentation