Difference between revisions of "Template:TOC right"
Jump to navigation
Jump to search
(Created page with "<noinclude>This template places table of contents at the right side. '''To copy:''' <pre>{{TOC right}}</pre> Category:Design_templates </noinclude> {| style="float:right...") |
m (+width) |
||
Line 1: | Line 1: | ||
− | <noinclude>This template places table of contents at the right side. | + | <noinclude>This template places table of contents at the right side. The width of the table can be passed as a parameter. |
'''To copy:''' | '''To copy:''' | ||
<pre>{{TOC right}}</pre> | <pre>{{TOC right}}</pre> | ||
+ | or | ||
+ | <pre>{{TOC right|300px}}</pre> | ||
[[Category:Design_templates]] | [[Category:Design_templates]] | ||
+ | [[t-ru-lib:Шаблон:Содержание справа]] | ||
</noinclude> | </noinclude> | ||
− | {| style="float:right;" | + | {| style="float:right; {{#if: {{{1|}}}| width: {{{1}}};|}}" |
|- | |- | ||
| __TOC__ | | __TOC__ | ||
|} | |} |
Revision as of 00:34, 9 December 2021
This template places table of contents at the right side. The width of the table can be passed as a parameter.
To copy:
{{TOC right}}
or
{{TOC right|300px}}