Template:Float/doc: Difference between revisions

No change in size ,  15 years ago
m
colons
m (→‎Examples: 24px)
m (colons)
Line 4:
 
: <code><nowiki>{{</nowiki>'''float'''|''top''= |''right''= |''bottom''= |''left''= |'''''item'''''}}</code>
: <code><nowiki>{{</nowiki>'''float'''|'''''item'''''}}</code> with default positioning ''top'' :0, ''right'' :0.
 
''Item'' is the only required parameter. The optional parameters ''top'', ''right'', ''bottom'', ''left'' indicate how far from their respective positions the ''item'' is to be positioned. Any units may be used so long as they are specified (e.g. <small><code><nowiki>{{</nowiki>float|top=2em|left=2em|"Blah"}}</code></small>).