Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.
Content deleted Content added
Created page with "<span class="nowrap">{{{1}}}</span><noinclude> {{documentation}} </noinclude>"
 
Alistar Bot (talk | contribs)
m top: Hygiene, replaced: {{documentation}} → {{/doc}}
 
Line 1: Line 1:
<span class="nowrap">{{{1}}}</span><noinclude>
<span class="nowrap">{{{1}}}</span><noinclude>
{{documentation}}
{{/doc}}
</noinclude>
</noinclude>

Latest revision as of 20:32, 17 March 2020

{{{1}}}

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Nowrap/doc. Changes can be proposed in the talk page.

{{Nowrap}} stops wrapping of specific text. It prevents word wraps (line breaks) within text or inside a link which contains spaces, hyphens ("-"), or, in some browsers, parentheses. The size of the nowrapped text becomes the minimum width of that paragraph. Before you use this template you might want to read up on Wikipedia:Line-break handling.

Usage

{{nowrap|these words stay together}}
{{nowrap|a, b, c, or d.}}
{{nowrap| merry-go-round }}
{{nowrap| [[4-part harmony]] }}
{{nowrap| [[Cascading Style Sheets|CSS]] }}
{{nowrap| [[#Examples|Examples section]] }}

The template names {{nobr}} and {{nobreak}} are redirects that may be used instead of "{{nowrap}}".

TemplateData

Prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens (-).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Text1

Text or link to be protected.

Stringrequired