Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Encyclopedia:Manual of Style
(section)
Project page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
===Controlling line breaks<span id="Non-breaking spaces"></span>=== {{Shortcut|MOS:NBSP}} {{See also|Help:Line-break handling|Template:Spaces}} It is sometimes desirable to force a text segment to appear entirely on a single line{{mdashb}}that is, to prevent a line break (line wrap) from occurring anywhere within it. *A '''[[non-breaking space]]''' (or '''hard space''') will never be used as a line-break point. Markup: for {{xt|19{{nbsp}}kg}}, code <code>19&nbsp;kg</code> {{em|or}} <code>19{{t|nbsp}}kg</code>. *Or use {{tlx|nowrap}}, {{tlx|nobreak}}, or {{tlx|nobr}} (all equivalent). Markup: for {{xt|{{nobr|5Β° 24β² N}}}}, code {{tlx|nobr|5Β° 24β² N}}. It is desirable to prevent line breaks where breaking across lines might be confusing or awkward. For example: {{columns list|colwidth=15em| *<code>17{{t|nbsp}}kg</code> *<code>AD{{t|nbsp}}565</code> *<code>2:50{{t|nbsp}}pm</code> *<code>Β£11{{t|nbsp}}billion</code> *<code>May{{t|nbsp}}2014</code> *{{tlx|nobr|5Β° 24β² 21β³ N}} *<code>Boeing{{t|nbsp}}747</code> *<code>123{{t|nbsp}}Elm Street</code> *<code>World War{{t|nbsp}}II</code> *<code>Pope Paul{{t|nbsp}}VI</code> *<code><nowiki>''</nowiki>E.{{t|nbsp}}coli<nowiki>''</nowiki></code> }} Whether a non-breaking space is appropriate depends on context: whereas it is appropriate to use <code>12{{t|nbsp}}MB</code> in prose, it may be counterproductive in a table (where an unattractive break may be acceptable to conserve precious horizontal space) and unnecessary in a short parameter value in an infobox (where a break would never occur anyway). A line break may occur at a '''thin space''' (<code>&thinsp;</code>, or {{tlx|thinsp}}), which is sometimes used to correct too-close placement of adjacent characters. An undesirable line break may also occur at special characters such as in ''bit/s''. To prevent these, consider using {{tlx|nobr}} e.g. {{tlx|nobr|100 Mbit/s}}. Insert non-breaking and thin spaces as [[named character reference]] (<code>&nbsp;</code> or <code>&thinsp;</code>), or as templates that generate these ({{tlx|nbsp}}, {{tlx|thinsp}}), and never by entering them directly into the edit window from the keyboard{{snd}}they are visually indistinguishable from regular spaces, and later editors will be unable to see what they are. Inside wikilinks, a construction such as {{nobr|<code><nowiki>[[World War&nbsp;II]]</nowiki></code>}} works but {{nobr|<code>[[World War{{t|nbsp}}II]]</code>}} doesn't.
Summary:
Please note that all contributions to Niidae Wiki 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
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Encyclopedia:Manual of Style
(section)
Add topic