বিষয়বস্তুতে চলুন

টেমপ্লেট:Block left/নথি

উইকিসংকলন থেকে

ব্যবহারবিধি

[সম্পাদনা]

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.
Aenean massa.
left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

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.}}


Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula eget dolor.

Aenean massa.

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.}}


Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula eget dolor.

Aenean massa.

ব্লকের কনটেন্ট যদি বামের মার্জিন থেকে একটু দূরে রাখতে হয়, তবে একটি ঐচ্ছিক পরামিতি offset ব্যবহার করতে পারেন:

উদাহরণ

{{block left|offset=2em|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.

  1. বিস্তারিত ব্যাখ্যার জন্য H:PXWIDTH দেখুন।

আরও দেখুন

[সম্পাদনা]