Template: Nowrap

From A Wiki of Ice and Fire
Revision as of 19:15, 23 April 2007 by Ran (talk | contribs) (New page: <includeonly><span style="white-space:nowrap">{{{1}}}</span></includeonly><noinclude> {{/doc}} </noinclude>)
Jump to: navigation, search

The {{nowrap}} template prevents line wraps in text and links containing spaces. for example the code:

Lots of text {{nowrap|10 kg (22 lb)}} more text. 
  • It may render like this:

Lots of text
10 kg (22 lb)more text.

  • Or like this:

Lots of text10 kg (22 lb)
more text.

  • But it will not render like this:

Lots of text 10 kg
(22lb) more text.