Difference between revisions of "Template:TOCright"

From Synfig Studio :: Documentation
Jump to: navigation, search
(creation from mediawiki)
 
m (<noinclude> nota about TOCright)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{TOC
+
<noinclude>TOCright is a template for positioning (css point of view : align float right) the Table Of Content to the right side of the page.
|clear={{{clear|{{dir|{{pagelang}}|left|right}}}}}
+
 
|width={{{width|{{{1|auto}}}}}}
+
Adding <nowiki>{{TOCright}}</nowiki> to the page header result a nicer design page. Please use it when the page's TOC start to fill too much space.</noinclude>
|align={{dir|{{pagelang}}|left|right}}
+
 
|limit={{{limit|}}}
+
<div style="clear: {{{clear|both}}};  margin-bottom: .5em; float: {{{align|right}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div>
}}
+

Latest revision as of 08:49, 17 February 2016

TOCright is a template for positioning (css point of view : align float right) the Table Of Content to the right side of the page.

Adding {{TOCright}} to the page header result a nicer design page. Please use it when the page's TOC start to fill too much space.