Difference between revisions of "Template:Clear"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Undo revision 111260 by Valento (talk))
Line 1: Line 1:
<div class="clear-template clear-{{lc:{{{1|both}}}}}" style="clear:{{#if:{{{1|}}}|{{{1}}}|both}};"></div><noinclude><noinclude>
<div class="clear-template clear-{{lc:{{{1|both}}}}}" style="clear:{{#if:{{{1|}}}|{{{1}}}|both}};"></div><noinclude>{{/doc}}</noinclude>
 
This template shows a right-aligned ''table of contents''.
 
== Usage ==
<pre style="width: 50%;">
{{TOCright}}
</pre>
 
==Parameters (optional)==
;clear
:Sets the CSS clear property, which forces this float underneath the side specified with this attribute. So, clear=right (which is the default) will place the element after all the right floating elements before it. Options are left, right, both, or none.
;width
:Set the CSS width.
;fix=y
:Created a fixed width invisible table, used to solve vertical spacing issues when using this template on pages that contain tables.
 
[[Category:Formatting templates|TOCright]]
</noinclude>

Revision as of 14:05, 9 June 2017