Template:SC/Nowrap
Template page
More actions
{{{1}}}
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:SC/Nowrap/doc
The above text is transcluded from Template:SC/Nowrap/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Nowrap/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Nowrap/doc. (View all subpages of this 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 Template:Tl and Template:Tl are redirects that may be used instead of "Template:Tl".
TemplateData
<templatedata>{
"description": "Prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens (-).",
"params": {
"1": {
"label": "Text",
"description": "Text or link to be protected.",
"type": "string",
"required": true
}
}
}</templatedata>