Search results
Results From The WOW.Com Content Network
Prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens (-). Template parameters [Edit template data] Parameter Description Type Status Text 1 Text or link to be protected. String required See also view talk edit {{ nowrap }} prevents wrapping within a single template (i.e. not suitable for relatively complex or lengthy content). {{ nowraplinks ...
The actual code that does the job is this CSS code in Common.css. . nowraplinks a , . nowraplinks . selflink { white-space : nowrap ; } It simply means that any white-space inside links (HTML A tags) and bold "links" to the page itself are not allowed to wrap.
A non-breaking hyphen ‑ may be used to prevent this occurring, as in: As seen on page C‑2 of the newspaper. This code generates "page Cā2" just like the plain code "page C-2", but prevents a line break at the hyphen. However, like , the use of ‑ instead of "-" renders the source text harder to read and edit. Don't use ...
This essay explains use of the non-breaking hyphen character ā, U+2011, coded by ‑ or ‑.Once displayed in a page, the non-breaking hyphen can be copied into words, or abbreviations, so they will not wrap at the hyphen character, such as an interstate highway symbol, "Iā94", which would always wrap to the next line as a whole word.
This text should wrap at every three words. See? Disabling linebreaking. If this template is wrapped with the {{nowrap}} template, or is wrapped with a parent HTML object with {{{1}}} defined, the output will not be broken into lines; it will appear as one continuous space-separated string of text. Note that no space-replacement is performed ...
A second common application of non-breaking spaces is in plain text file formats such as SGML, HTML, TeX and LaTeX, whose rendering engines are programmed to treat sequences of whitespace characters (space, newline, tab, form feed, etc.) as if they were a single character (but this behavior can be overridden).
Note the order of precedence from the right margin: first, come infoboxes or images using "right|", then come the floating-tables, and lastly, any text will wrap that can still fit. If the first text-word is too long, no text will fit to complete the left-hand side, so beware creating a "ragged left margin" when not enough space remains for ...
The {} template uses HTML, and will size-match a serif font, and will also prevent line-wrap. All templates are sensitive to the = sign, so remember to replace = with {{ = }} in template input, or start the input with 1= .