Template:Float right/doc

Usage
This template floats text to the right without changing the alignment. To align text to the right, use right.

Parameters

 * or : The content of the right-floated text.
 * or : set the margin on the right (pushes the block in from the right of the page. Default is 0.
 * sets the top and bottom margin of floated text to the designated amount. Default is 0.
 * or sets the margin (gutter) to the left of the floated text to the designated amount. Default is 0.

The distance parameters must include a unit (e.g. ). Avoid using px units when the block contains textual content (see H:PXWIDTH for more details).

Offset
You can prevent the text from floating all the way to the right through the use of the parameter:

This text is outside the floated span. This text is also outside the floated span. yields This text is outside the floated span. This text is also outside the floated span. but This text is outside the floated span. This text is also outside the floated span. yields This text is outside the floated span. This text is also outside the floated span. And This text is outside the floated span. This text is also outside the floated span. yields

This text is outside the floated span. This text is also outside the floated span.

right versus
This template,, takes a block of text out of the normal text flow, and floats it as far right as possible, without changing how it is aligned; other text can flow around it, as if it were a picture or diagram. right retains the text in the normal flow, but causes it to be aligned along the right margin.