Шаблон:Tocright: различия между версиями

imported>Gregariousjb
(Created page with "<div style="float:right; clear:right; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:#fff; max-width:20em;">__TOC__</div>")
 
imported>Gregariousjb
мНет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
<div style="float:right; clear:right; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:#fff; max-width:20em;">__TOC__</div>
<div style="float:right; clear:right; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:#fff; max-width:20em;">__TOC__</div>
<noinclude>
===Usage===
Insert '''<nowiki>{{tocright}}</nowiki>''' at the point in the article where you want the top of the table of contents box to appear. It will float to the right of the page, allowing the normal article to be displayed to the left alongside the table of contents. This is especially useful (and better-looking) for pages with a long table of contents.
</noinclude>

Текущая версия от 22:19, 6 января 2024


Usage

Insert {{tocright}} at the point in the article where you want the top of the table of contents box to appear. It will float to the right of the page, allowing the normal article to be displayed to the left alongside the table of contents. This is especially useful (and better-looking) for pages with a long table of contents.