Difference between revisions of "Template:Float"
(Created page with '<div style="float: {{{pos|right}}}; width: {{{width|30%}}}; text-align: {{{textalign|left}}}; {{{style|}}}">{{{1|Lorem ipsum dolor sit amet.}}}</div>{{#if:{{{clr|yes}}}|{{clr}}}}…') |
m |
||
Line 14: | Line 14: | ||
* <code><nowiki>}}</nowiki></code> | * <code><nowiki>}}</nowiki></code> | ||
− | [[Category:Formatting templates]]</noinclude> | + | [[Category:Formatting templates|Float]]</noinclude> |
Revision as of 20:54, 1 September 2010
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, center| 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 =
valid CSS style [optional]
}}