This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Float right/s. It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
Usage
ಸಂಪಾದಿಸಿThis template, together with {{float right/e}}, can be used to float a block of text (and images) to the right, allowing remaining text on page to wrap around the block.
It can take two parameters:
- the first sets the width of the block the text will be squeezed into (default is 200px)
- the second sets the left margin for the block (default is 1em)
Example
ಸಂಪಾದಿಸಿ{{Float right/s|300px|2em}}
This text is floated right in a 300-pixel-wide box with a 2em left margin.
{{Float right/e}}
yields:
This text is floated right in a 300-pixel-wide box with a 2em left margin.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
See also
ಸಂಪಾದಿಸಿ- {{Float left/s}} - for left alignment
- {{float right}} - useful for small amounts of text