টেমপ্লেট:Nowrap

{{{1}}}

টেমপ্লেট নথি


{{Nowrap}} stops wrapping of specific text. It prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens ("-"). The size of the nowrapped text becomes the minimum width of that paragraph. Before you use this template you might want to read up on Wikipedia:Line break handling.

ব্যবহার

{{nowrap|these words stay together}}
{{nowrap|a, b, c, or d.}}
{{nowrap| merry-go-round }}
{{nowrap| [[4-part harmony]] }}

The template names {{j}} (join) or {{nobr}} or {{nobreak}} may be used instead of "nowrap", as they are redirects to {{nowrap}}.

উদাহরণ

"They held {{nowrap|10 kg (22 lb)}} in total."


May render like this:

They held 10 kg (22 lb)
in total.


Or like this:

They held
10 kg (22 lb) in total.


But not render like this:

They held 10 kg (22
lb) in total.
"He encountered {{nowrap|a tiger}} in the woods."


May render like this:

He encountered a tiger
in the woods.


Or like this:

He encountered
a tiger in the woods.


But not like this:

He encountered a
tiger in the woods.

পরিচালনার সমান-সাইন বা বার

Templates have problems with parameter data that contains equal-signs "=" or vertical bars "|" (pipes). In such cases, consider using {{nowrap begin}} + {{nowrap end}} instead. But there are also other workarounds:

For text that includes an equal-sign "=", precede the text with 1=, use a triple-brace unnamed parameter {{{|=}}}, or the {{=}} template. For example:

{{nowrap|1=2 + 2 = 4}},
{{nowrap|2 + 2 {{{|=}}} 4}}, or
{{nowrap|2 + 2 {{=}} 4}}

which all render as this:

2 + 2 = 4.

For text that includes a vertical bar "|", escape the bar(s) with "|" or "{{!}}". For instance, put two bars "|6|" like this:

{{nowrap|&#124;6&#124; < 7}}  or  {{nowrap|{{!}}6{{!}} < 7}}

Which renders this:

|6| < 7

প্রযুক্তির খুঁটিনাটি

The actual code that does the job is this HTML+CSS code:

<span style="white-space:nowrap">This text will not wrap</span>

Spaces at the beginning or end of the text will fall outside the no-wrap tag in the rendered text due to Wikimedia rendering mechanisms.

The templates {{j}}, {{nobr}} and {{nobreak}} redirect here.

আরও দেখুন

  • {{nowraplinks}} – Prevents wraps inside links and only allows wraps between the links and in normal text. Very useful for link lists and easy to use.
  • {{nowrap begin}} – Prevents wraps in both text and links. For the trickier wrapping cases when you need full control, for instance in very complex link lists.
  • Wikipedia:Line break handling – The how-to guide detailing how to handle word wraps (line breaks) on Wikipedia.
🔥 Top keywords: প্রধান পাতা২০২৪ আইসিসি পুরুষ টি২০ বিশ্বকাপতুফান (২০২৪-এর চলচ্চিত্র)বিশেষ:অনুসন্ধানঈদুল আযহাঈদের নামাজকুরবানীরবীন্দ্রনাথ ঠাকুরঈদ মোবারকক্লিওপেট্রাকোকা-কোলারাজকুমার (২০২৪-এর চলচ্চিত্র)এক্স এক্স এক্স এক্স (অ্যালবাম)বাংলাদেশমিয়া খলিফাআসসালামু আলাইকুমআবহাওয়া২০২৪ কোপা আমেরিকাদ্য কোকা-কোলা কোম্পানিইন্না লিল্লাহি ওয়া ইন্না ইলাইহি রাজিউনউয়েফা ইউরো ২০২৪ওয়ালাইকুমুস-সালামসন্দীপ লামিছানেতানজিম হাসান সাকিববাংলা প্রবাদ-প্রবচনের তালিকানির্জলা একাদশীকাজী নজরুল ইসলামচন্দ্রবোড়াশাকিব খানঈশ্বরচন্দ্র বিদ্যাসাগরস্বামী বিবেকানন্দভারতমহাত্মা গান্ধীঐশ্বর্যা রাইবাংলা ভাষাআইসিসি পুরুষ টি২০ বিশ্বকাপবিশেষ:সাম্প্রতিক পরিবর্তনসমূহমুহাম্মাদএকাদশী