Template:Nowrap

Revisión del 02:23 30 jul 2014 de Ostermayer (discusión | contribs.) (Created page with "<span class="nowrap">{{{1}}}</span><noinclude> {{documentation}} <!--interwikis/categories go inside doc--> </noinclude>")
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)

{{{1}}}

Usage

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

Examples

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