Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Special pages
contributors
Wiki Rules
Style Guide
Needed Pages
game-components
Getting started guide
Animals
Buildings
Compute Blocks
Crops & Trees
Decor
Game Mechanics
Items
Logistic Blocks
Paths
Quests
Structural Blocks
Terraforming
Vehicles
factorytown2-links
Steam
Discord
Youtube
Official website
Factory Town 2 Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Nowrap/doc
(section)
Template
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!
== Usage == : <syntaxhighlight lang="wikitext" inline>{{Nowrap|these words stay together}}</syntaxhighlight> → {{Nowrap|these words stay together}} : <syntaxhighlight lang="wikitext" inline>{{Nowrap|a, b, c, or d.}}</syntaxhighlight> → {{Nowrap|a, b, c, or d.}} : <syntaxhighlight lang="wikitext" inline>{{Nowrap| merry-go-round }}</syntaxhighlight> → {{Nowrap| merry-go-round }} : <syntaxhighlight lang="wikitext" inline>{{Nowrap| [[4-part harmony]] }}</syntaxhighlight> → {{Nowrap| [[4-part harmony]] }} : <syntaxhighlight lang="wikitext" inline>{{Nowrap| [[Cascading Style Sheets|CSS]] }}</syntaxhighlight> → {{Nowrap| [[support:CSS|CSS]] }} : <syntaxhighlight lang="wikitext" inline>{{Nowrap| [[#Examples|Examples section]] }}</syntaxhighlight> → {{Nowrap| [[#Examples|Examples section]] }} : <syntaxhighlight lang="wikitext" inline>{{Nowrap}}</syntaxhighlight> → {{Nowrap}} : <syntaxhighlight lang="wikitext" inline>{{Nowrap|A very long sentence that should wrap when the window becomes smaller but which is prevented from wrapping by this template, which prevents normal line wrapping of long strings that are wrapped in the template.}}</syntaxhighlight> → {{Nowrap|A very long sentence that should wrap when the window becomes smaller but which is prevented from wrapping by this template, which prevents normal line wrapping of long strings that are wrapped in the template.}} === Examples === {| class=wikitable |"<code>They held <code><nowiki>{{Nowrap|10 kg (22 lb)}}</nowiki></code> in total.</code>" <br/> May render like this: :They held {{Nowrap|10 kg (22 lb)}} <br/>in total. <br/> Or like this: :They held <br/>10 kg (22 lb) in total. <br/> But ''not'' render like this: :They held 10 kg (22 <br/>lb) in total. | "<code>He encountered <code><nowiki>{{Nowrap|a tiger}}</nowiki></code> in the woods.</code>" <br/> May render like this: :He encountered a tiger <br/>in the woods. <br/> Or like this: :He encountered <br/>a tiger in the woods. <br/> But ''not'' like this: :He encountered a <br/>tiger in the woods. |} === Handling equal-sign or bar === [[mw:Help:Template|Templates]] have problems with parameter data that contains equal-signs "<code>=</code>" or vertical bars "<code>|</code>" (pipes). Note that this does not apply if the equal-sign "<code>=</code>" or vertical bar "<code>|</code>" is inside a wikilink or another template. For text that includes an equal-sign "=", precede the text with <code>1=</code>, use a triple-brace unnamed parameter <syntaxhighlight lang="wikitext" inline>{{{|=}}}</syntaxhighlight>, or the <syntaxhighlight lang="wikitext" inline>{{=}}</syntaxhighlight> [[mw:Help:Magic_words#Escaped%20characters|magic word]]. For example: :<syntaxhighlight lang="wikitext" inline>{{Nowrap|1=2 + 2 = 4}}</syntaxhighlight>, <br/><syntaxhighlight lang="wikitext" inline>{{Nowrap|2 + 2 {{{|=}}} 4}}</syntaxhighlight>, or <br/><syntaxhighlight lang="wikitext" inline>{{Nowrap|2 + 2 {{=}} 4}}</syntaxhighlight> which all render as this: :{{Nowrap|1=2 + 2 = 4}}. For text that includes a vertical bar "|", escape the bar(s) with "<syntaxhighlight lang="wikitext" inline>|</syntaxhighlight>" or "[[Template:Pipe|<syntaxhighlight lang="wikitext" inline>{{pipe}}</syntaxhighlight>]]" or "<syntaxhighlight lang="wikitext" inline>{{!}}</syntaxhighlight>". For instance, put two bars "|6|" like this: :<syntaxhighlight lang="wikitext" inline>{{Nowrap||6| < 7}}</syntaxhighlight> or <syntaxhighlight lang="wikitext" inline>{{Nowrap|{{pipe}}6{{pipe}} < 7}}</syntaxhighlight> or <syntaxhighlight lang="wikitext" inline>{{Nowrap|{{!}}6{{!}} < 7}}</syntaxhighlight> Which renders this: :{{Nowrap||6| < 7}}
Summary:
Please note that all contributions to Factory Town 2 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
Factory Town 2 Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template
:
Nowrap/doc
(section)
Add topic