Difference between revisions of "Template:RightToc"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<onlyinclude><div style="float:right;max-width:30%;margin:8px;{{{1|}}}">__TOC__</div></onlyinclude> | <onlyinclude><div style="float:right;max-width:{{{width|30%}}};margin:8px;{{{1|}}}">__TOC__</div></onlyinclude> | ||
Usage: | Usage: | ||
{|{{Prettytable}} | {|{{Prettytable}} | ||
Line 8: | Line 8: | ||
|<code><nowiki>{{RightToc|extra style}}</nowiki></code> | |<code><nowiki>{{RightToc|extra style}}</nowiki></code> | ||
|use the extra style area to add additional style to the surrounding toc div | |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}}]] | [[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%. |