ਫਰਮਾ:Block left/doc
ਦਿੱਖ
This is a documentation subpage for ਫਰਮਾ:Block left. It contains usage information, categories and other content that is not part of the original ਫਰਮਾ page. |
Usage
[ਸੋਧੋ]This template places a block of text in the left of the page, without affecting the text alignment within that block.
- Comparison of {{Block left}} and {{left}}
This template retains the current text alignment (usually left), but moves the entire block of text into the left. To change to left text alignment, use {{left}} instead.
- Block left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
- left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Parameter
[ਸੋਧੋ]Where there is a requirement to fix the width of the block, an optional "width" parameter can be used.
Note: when the content is text, prefer text-relative units like em to absolute units like px. See H:PXWIDTH for more details.
{{block left|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.