Difference between revisions of "Template:Float"
m |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
− | + | <pre> | |
− | + | {{float | |
− | + | | 1 = Content to float. Use "1 = " if it contains | or other template-breaking characters. | |
− | + | ||
− | + | | pos = right [default], left | |
− | + | | width = n% [default:30%] | |
− | + | | clr = yes, undefined [default] – if yes, uses {{clr}} to clear the area after the floating element. | |
− | + | ||
− | + | | textalign = right, left [default], center | |
− | + | | style = custom CSS style [optional] | |
+ | }}</pre> | ||
[[Category:Formatting templates|Float]]</noinclude> | [[Category:Formatting templates|Float]]</noinclude> |
Latest revision as of 03:48, 4 April 2023
Lorem ipsum dolor sit amet.
Usage
{{float | 1 = Content to float. Use "1 = " if it contains | or other template-breaking characters. | pos = right [default], left | width = n% [default:30%] | clr = yes, undefined [default] – if yes, uses {{clr}} to clear the area after the floating element. | textalign = right, left [default], center | style = custom CSS style [optional] }}