Template:Leftblock/doc

From MOASSpedia
Jump to navigation Jump to search

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

Example alt text
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.
  • | 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