টেমপ্লেট:Block left
|
|
This template uses block (e.g. <div> or <p>) elements.It should not be nested inside an inline element (e.g. |
| এই টেমপ্লেটটি টেমপ্লেট শৈলী ব্যবহার করে: |
ব্যবহারবিধি
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
Aenean commodo ligula eget dolor.
- left
Aenean commodo ligula eget dolor.
Aenean massa.পরামিতিসমূহ
সকল পরামিতিই ঐচ্ছিক।
- class ব্লকের জন্য বাড়তি একটি ক্লাস সেট করে
- width ব্লকের প্রস্থ নির্ধারণ করে
- offset বামের মার্জিন থেকে কত দূরত্বে বসবে ("ইনডেন্ট") তা নির্ধারণ করে
- gutter সাধারণ কনটেন্ট ও ব্লকের মাঝের ফাঁকা জায়গা নির্ধারণ করে
- align ব্লকের অভ্যন্তরীণ সজ্জা নির্ধারণ করে
- style বাড়তি স্টাইল সেট করতে ব্যবহার করুন।
- body বা 1 ব্লকের কনটেন্ট।
প্রস্থ
Where there is a requirement to fix the width of the block, an optional width parameter can be used. কনটেন্ট টেক্সট হলে টেক্সট-সংক্রান্ত একক যেমন em ব্যবহার করুন পরম একক px এর বদলে।[১]
উদাহরণ
{{block left|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.
Aenean massa.}}
Aenean commodo ligula eget dolor.
Aenean massa.Align
To align the content of the left-aligned block within the block, an optional align parameter may be used:
উদাহরণ
{{block left|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.Offset
ব্লকের কনটেন্ট যদি বামের মার্জিন থেকে একটু দূরে রাখতে হয়, তবে একটি ঐচ্ছিক পরামিতি offset ব্যবহার করতে পারেন:
উদাহরণ
{{block left|offset=2em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.
Aenean massa.}}
Aenean commodo ligula eget dolor.
Aenean massa.আরও দেখুন
- {{block right}}
- {{left}} এবং {{right}}
- {{float left}} এবং {{float right}}
- {{overfloat left}} এবং {{overfloat right}}