Toggle search
Search
Toggle menu
Notifications
Toggle personal menu
Editing
Template:Nowrap/doc
Template page
Views
Read
Edit
View history
associated-pages
Template
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation}} {{tsh|nobr|nobreak}} {{t|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 == :: <code><nowiki>{{nowrap|these words stay together}}</nowiki></code> :: <code><nowiki>{{nowrap|a, b, c, or d.}}</nowiki></code> :: <code><nowiki>{{nowrap| merry-go-round }}</nowiki></code> :: <code><nowiki>{{nowrap| [[4-part harmony]] }}</nowiki></code> :: <code><nowiki>{{nowrap| [[Cascading Style Sheets|CSS]] }}</nowiki></code> :: <code><nowiki>{{nowrap| [[#Examples|Examples section]] }}</nowiki></code> The template names {{tl|nobr}} and {{tl|nobreak}} are redirects that may be used instead of "{{tl|nowrap}}". == 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> <includeonly> [[Category:Formatting and function templates]] </includeonly>
Summary:
Please note that all contributions to WoopMC may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WoopMC:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)