Difference between revisions of "Template:TOCbox"

From Appropedia
Jump to navigation Jump to search
(width = auto)
(+ header)
 
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">{{TOCright}}</div><noinclude>
+
<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">{{#if:{{{header}}}|<center>{{{header|}}}</center>|}} {{TOCright}}</div><noinclude>
  
 
== Usage ==
 
== Usage ==
Line 16: Line 16:
 
   |border-width=
 
   |border-width=
 
   |border-color=
 
   |border-color=
 +
  |header=
 
}}
 
}}
 
</pre>
 
</pre>
Line 25: Line 26:
 
   |border-width=0px
 
   |border-width=0px
 
   |border-color=#A3BFA3 - can be name
 
   |border-color=#A3BFA3 - can be name
 +
  |header= empty
  
 
== 2 ==
 
== 2 ==
Line 30: Line 32:
 
== 4 ==
 
== 4 ==
 
== 5 ==
 
== 5 ==
 +
 
== 6 ==
 
== 6 ==
 
== 7 ==
 
== 7 ==

Latest revision as of 16:54, 9 April 2013

Usage[edit source]

Simple version
{{TOCbox}}
Optional paramaters
{{TOCbox
  |width=
  |height=
  |font-size=
  |border-width=
  |border-color=
  |header=
}}
Defaults
 |width=auto - can be % or px
 |height=500px - about 25 lines
 |font-size=96% - can be px
 |border-width=0px
 |border-color=#A3BFA3 - can be name
 |header= empty

2[edit source]

3[edit source]

4[edit source]

5[edit source]

6[edit source]

7[edit source]

8[edit source]

9[edit source]

10[edit source]

11[edit source]

12[edit source]

13[edit source]

14[edit source]

15[edit source]

16[edit source]

17[edit source]

18[edit source]

19[edit source]

20[edit source]

21[edit source]

22[edit source]

23[edit source]

24[edit source]

25[edit source]

26[edit source]

27[edit source]

28[edit source]

29[edit source]

30[edit source]