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
(Usage: can be auto height)
m (moved Template:TOC right to Template:Toc right: consistency with convention of using lower case in templates)
 
(3 intermediate revisions by one other user not shown)
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:{{#if:{{{height}}}|{{{height|500px}}}|500px}}; 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=500px - about 25 lines, can be auto
+
  |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>

Latest revision as of 06:36, 10 September 2012

[create] Documentation icon Template documentation