目录通常在页面右侧,所以请在接近右侧的位置使用此模板。参见{{toc}}.
- 使用
clear =
Optional CSS 'clear' setting for the outer float container. Default is 'right'.width =
Optional outer box width (especially good for crazy long section names). Default is 'inherit'.
- 示例
{{tocright}}
- floats TOC to right side and clears right{{tocright|width=30%}}
- floats TOC to right side, clears right, and restricts TOC max-width to 30% of content width
- 模板