Difference between revisions of "Template:Nowrap"

From CWCki
Jump to navigation Jump to search
(Added Usage. Recategorized as formatting template.)
m
 
Line 6: Line 6:
- Displays: Lots of text {{nowrap|23 kg (50 lb)}} more text.
- Displays: Lots of text {{nowrap|23 kg (50 lb)}} more text.


The idea here is that the text may break before or after "23kg (50lb)", but not in the middle of this selection. If you change the width of your browser, you can see how it works.
The idea here is that the text may break before or after "23kg (50lb)", but not in the middle of this selection. If you change the width of your browser, you can see how it works.
}}
}}


[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude>
[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 13:36, 30 November 2010

{{{1}}}

Usage

These usage notes will not be included in articles bearing this template.

This is a formatting template prevents word wraps (line breaks) in text and links that contain spaces.The format for using this template is as follows:

Lots of text {{nowrap|23 kg (50 lb)}} more text.


- Displays: Lots of text 23 kg (50 lb) more text.

The idea here is that the text may break before or after "23kg (50lb)", but not in the middle of this selection. If you change the width of your browser, you can see how it works.