yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Editing
Template:Nowrap/doc
(section)
From 2swagg wiki
Jump to navigation
Jump to search
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!
=== Handling equal-sign or bar === [[Help:Template|Templates]] have problems with parameter data that contains [[equal-sign]]s "<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. In the case that there is a bare equal-sign "<code>=</code>" or vertical bar "<code>|</code>", consider using {{tl|Nowrap begin}} + {{tl|Nowrap end}} instead. However, there are also other workarounds: 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> 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 "<syntaxhighlight lang="wikitext" inline>{{pipe}}</syntaxhighlight>" or "<syntaxhighlight lang="wikitext" inline>{{abs}}</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|{{abs|6}} < 7}}</syntaxhighlight> Which renders this: :{{Nowrap||6| < 7}}
Summary:
Please note that all contributions to 2swagg 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
2swagg wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Template
Discussion
Read
Edit source
History
Page actions
Template
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
janny
Noticeboard
Tools
What links here
Related changes
Special pages
Page information