Template:Leftblock/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Leftblock. It contains usage information, categories and other content that is not part of the original template page. |
This template creates a block-level element (<div>...</div>
) that forces left-alignment on the text within it. It is useful for left-aligning long captions and similar elements that are styled with centred text by default.
Usage
{{Leftblock|This text is left-aligned.}}
This text is centred.
This text is left-aligned.
This text is centred.
In an infobox
| caption = {{Leftblock|Lorem ipsum dolor sit amet, eos tota meis forensibus in, quo cu nisl sumo alterum, vel novum putent mollis eu. Qui eu verear prompta, agam facilis eos ex, cu sed oblique scaevola mediocrem.}}
See also
- Template:Left - for left-aligning table cells
- Template:Align - for a floating element that may be left- or right-aligned