Difference between revisions of "Template:RightToc"
Jump to navigation
Jump to search
(baka) |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div style="float:right;max-width:30%;{{{1}}}">__TOC__</div> | <onlyinclude><div style="float:right;max-width:{{{width|30%}}};margin:8px;{{{1|}}}">__TOC__</div></onlyinclude> | ||
Usage: | |||
{|{{Prettytable}} | |||
|- | |||
|<code><nowiki>{{RightToc}}</nowiki></code> | |||
|standard right floating toc that won't grow them more then 30% of the screen width | |||
|- | |||
|<code><nowiki>{{RightToc|extra style}}</nowiki></code> | |||
|use the extra style area to add additional style to the surrounding toc div | |||
|- | |||
|<code><nowiki>{{RightToc|width=40%}}</nowiki></code> | |||
|sets max-width. Default is 30%. | |||
|} | |||
[[Category:TOC templates|{{PAGENAME}}]] |
Latest revision as of 11:19, 10 December 2009
Usage:
{{RightToc}}
|
standard right floating toc that won't grow them more then 30% of the screen width |
{{RightToc|extra style}}
|
use the extra style area to add additional style to the surrounding toc div |
{{RightToc|width=40%}}
|
sets max-width. Default is 30%. |