வார்ப்புரு:Overfloat left/doc
This is a documentation subpage for வார்ப்புரு:Overfloat left. It contains usage information, categories and other content that is not part of the original வார்ப்புரு page. |
Usage
[தொகு]This template floats a span past the left margin, so it appears further to the left.
Parameters
[தொகு]- align: Text alignment within the span, default to "left". If set, the width is fixed, to allow alignment. Otherwise, width is unset, and extended as far to the right as needed.
- depth: Depth of penetration into left margin, default 3em.
- padding: The space on the right of the text, default 0.2em.
- width: width of left-aligned text block, add this parameter for a multi-line block.
Examples
[தொகு]<div class="prose"> {{overfloat left|align=right|I.}} {{lorem ipsum}} {{overfloat right|45}} {{overfloat left|align=right|padding=1em|II.}} {{lorem ipsum}} {{overfloat left|depth=4em|2}} {{lorem ipsum}} </div>
I. 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. 45
II. 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.
2 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
[தொகு]- {{fqm}} - simplified version for floating quotation marks