Difference between revisions of "Template:TOCright"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (template:TOC from mediawiki modified to be right aligned)
m (<noinclude> nota about TOCright)
 
Line 1: Line 1:
 +
<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.
 +
 +
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>
 +
 
<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>
 
<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.