Template

Nowrap/doc

From Halal Explorer

< Template:Nowrap

The template prevents line wrap in the string provided as the parameter. It is useful e.g. where numbers or names could otherwise be split in confusing ways. Where line wrap is not needed, the template will not affect the article as seen by readers. Where line wrap is needed, the line will usually be split just before or just after the template (in some cases perhaps depending on browser), so the template should include everything from and up to a suitable line break point.

The effect is close to using &nbsp; and friends, but the wikitext is often more readable with the template than with such HTML entities.

Example use:

... an area of {{nowrap|2 860 km².}} This is ...

Will render "... an area of <templatestyles src="nowrap/core.css"/>2 860 km². This is ..." without line wrap in the <templatestyles src="nowrap/core.css"/>"2 860 km²." part.