2 510 bytes adicionados,
10h10min de 17 de dezembro de 2019 {{Subpágina de documentação}}
<!-- Categorias no final desta página e links para outros idiomas no Wikidata -->
__NOTOC__
{{alto-risco| 129000 }}
{{Seguro para COinS|n}}
Esta é a predefinição {{tl|nowrap}}.
Esta predefinição impede a quebra de palavras (quebras de linha) no texto e links que contenham espaços.
Antes de usar esta predefinição, você pode querer ler sobre [[Wikihelp:Manipulação de quebra de linha]].
{{Documentação dos parâmetros}}
== Uso ==
<pre>
Lotes de texto {{nowrap|10 kg (22 lb)}} mais texto.
</pre>
Pode render como este:
:Lotes de texto 10 kg (22 lb)
:mais texto.
Ou como este:
:Lotes de texto
:10 kg (22 lb) mais texto.
Mas ele ''não'' vai render como este:
:Lotes de texto 10 kg (22
:lb) mais texto.
=== Handling interpreted characters ===
[[Ajuda:Predefinição|Predefinições]] tem problemas para lidar com dados de parâmetros, que contém sinais de igual "<code>=</code>" ou barras verticais "<code>|</code>". Em tais casos considerar o uso de {{tl|nowrap begin}} + {{tl|nowrap end}} em seu lugar. Mas também há soluções alternativas:
For text that includes an equal sign "=", precede the text with <code>1=</code>. For example:
:<code><nowiki>{{nowrap|</nowiki>1=2 + 2 = 4}}</code>
Which renders this:
:{{nowrap|1=2 + 2 = 4}}
For text that includes a vertical bar "|", escape the bar(s) with <code><nowiki>&#124;</nowiki></code> or <code><nowiki>{{!}}</nowiki></code>. For instance like this:
:<code><nowiki>{{nowrap|</nowiki>&#124;2&#124; < 3}}</code>
Or like this:
:<code><nowiki>{{nowrap|{{!}}2{{!}} < 3}}</nowiki></code>
Which renders this:
:{{nowrap||2| < 3}}
=== Technical details ===
The actual code that does the job is this HTML+CSS code:
:<code><nowiki><span style="white-space:nowrap">This text will not wrap</span></nowiki></code>
Spaces at the beginning or end of your text will fall outside the no-wrap tag in the rendered text due to Wikimedia rendering mechanisms.
{{tl|nobr}} and {{tl|nobreak}} redirect here.
=== Ver também ===
* {{tl|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.
{{div col|4}}
*{{tl|-nowrap}}
*{{tl|+nowrap}}
*{{tl|-+nowrap}}
*{{tl|nwrap}}
*{{tl|-nwrap}}
*{{tl|+nwrap}}
*{{tl|-+nwrap}}
{{div col fim}}
<includeonly>
[[Category:Wikihelp formatting and function templates|{{PAGENAME}}]]-->
[[Categoria:!Predefinições de edição|{{PAGENAME}}]]
</includeonly>