{{{1}}}
{{Nowrap}}
o {{nowrap}}
detiene el ajuste de texto específico (que puede estar dentro de un enlace). Use esta plantilla con moderación . Evita los saltos de línea que podrían ocurrir en espacios, guiones ("-") o, en algunos navegadores, paréntesis. El tamaño del texto que se ajusta se convierte en el ancho mínimo de ese párrafo y eso puede influir negativamente en la capacidad de la página para adaptarse a pantallas más pequeñas o representaciones alternativas del contenido.
Para lograr el efecto opuesto de {{nowrap}}
, puedes usar . Para obtener más información sobre cómo envolver y dividir oraciones, consulta Wikipedia:Manejo de saltos de línea .{{wbr}}
{{Nowrap|these words stay together}}
{{Nowrap|a, b, c, or d.}}
{{Nowrap| merry-go-round }}
{{Nowrap| [[4-part harmony]] }}
{{Nowrap| [[Cascading Style Sheets|CSS]] }}
{{Nowrap| [[#Examples|Examples section]] }}
Esta plantilla se puede utilizar con y para controlar los saltos de línea en listas sin viñetas en los cuadros de información, para evitar que las entradas largas se confundan con entradas múltiples. Consulte la Plantilla:Wbr/doc#Control de saltos de línea en los cuadros de información para obtener más detalles.{{Wbr}}
{{Spaces}}
Las plantillas tienen problemas con los datos de parámetros que contienen signos de igual " =
" o barras verticales " |
" (tuberías). Tenga en cuenta que esto no se aplica si el signo de igual " =
" o la barra vertical " |
" están dentro de un wikilink u otra plantilla. En el caso de que haya un signo de igual " =
" o una barra vertical " |
" sin nada, considere usar {{ Nowrap begin }} + {{ Nowrap end }} en su lugar. Sin embargo, también hay otras soluciones alternativas:
Para el texto que incluye un signo igual "=", anteponga el texto con 1=
, utilice un parámetro sin nombre entre llaves triples {{{|=}}}
o la {{=}}
palabra mágica. Por ejemplo:
{{Nowrap|1=2 + 2 = 4}}
, {{Nowrap|2 + 2 {{{|=}}} 4}}
, o{{Nowrap|2 + 2 {{=}} 4}}
que se traducen así:
|
Para el texto que incluye una barra vertical "|", escriba " " o " {{pipe}}
" o " " para escapar de la(s) barra(s) {{abs}}
. Por ejemplo, coloque dos barras "|6|" de la siguiente manera:
{{Nowrap||6| < 7}}
o {{Nowrap|{{pipe}}6{{pipe}} < 7}}
o {{Nowrap|{{abs|6}} < 7}}
Lo que da como resultado esto:
El código real que hace el trabajo es esta etiqueta HTML que aplica una clase al texto dentro de la plantilla:<span>
<span class="nowrap">This text will not wrap</span>
La clase nowrap
recibe la propiedad CSS en MediaWiki:Common.css .white-space: nowrap;
Plantilla de datos para Nowrap
Evita los saltos de línea dentro del texto o dentro de un enlace que contenga espacios o guiones (-).