(made auto height default)
(copyedit)
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|500px}}}|500px}};</includeonly><noinclude>{{#if:{{{height}}}|{{{height|500px}}}|500px}};</noinclude> overflow: auto; overflow-x:hidden">
<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__

Revision as of 19:49, 21 July 2012

Usage

Simple version
{{TOC right}}
Optional paramaters
{{TOC right
  |width=
  |height=
  |font-size=
  |border-width=
  |border-color=
}}
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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.