Difference between revisions of "Template:TOCright"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m (embedding toc limit)
 
Line 12: Line 12:
== Usage ==
== Usage ==
<pre style="width: 50%;">
<pre style="width: 50%;">
{{TOCright}}
{{TOCright|<limit>|clear=|width=|fix=}}
</pre>
</pre>


==Parameters (optional)==
==Parameters (optional)==
; ''unnamed parameter 1'' (limit)
: Sets the TOC limit, i.e. header depth level. Defaults to 3.
;clear  
;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.
: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.

Latest revision as of 18:13, 16 July 2017


This template shows a right-aligned table of contents.

Usage

{{TOCright|<limit>|clear=|width=|fix=}}

Parameters (optional)

unnamed parameter 1 (limit)
Sets the TOC limit, i.e. header depth level. Defaults to 3.
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.