From Wikivoyage
Jump to navigation Jump to search

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   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 2 860 km². This is ..." without line wrap in the "2 860 km²." part.