সাঁচ:Block right
Usage
[সম্পাদনা কৰক]This template places a block of text in the right of the page, without affecting the text alignment within that block.
- Comparison of {{Block right}} and {{right}}
This template retains the current text alignment (usually left), but moves the entire block of text into the right. To change to right text alignment, use {{right}} instead.
- Block right
Aenean commodo ligula eget dolor.
Aenean massa.- Right
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Parameters
[সম্পাদনা কৰক]Where there is a requirement to fix the width of the block, an optional "width" parameter can be used.
{{block right|width=300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Aenean commodo ligula eget dolor.
Aenean massa.To offset the entire block back from the right margin, an optional "offset" parameter may be used:
{{block right|offset=4em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Aenean commodo ligula eget dolor.
Aenean massa.To align the content of the right-aligned block, an optional "align" parameter may be used:
{{block right|align=center|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Aenean commodo ligula eget dolor.
Aenean massa.
The above documentation is transcluded from সাঁচ:Block right/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |