Template:Nowrap/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
Created page with "{{Documentation subpage}} <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: Wikipedia:Wikidata) --> {{High-use}}..."
 
m Text replacement - "CSS" to "CSS"
 
(2 intermediate revisions by the same user not shown)
Line 2:
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{High-use}}
{{Commons Import}}
{{tsh|nobr|nobreak}}
 
Line 13 ⟶ 14:
:: <code><nowiki>{{Nowrap| merry-go-round }}</nowiki></code>
:: <code><nowiki>{{Nowrap| [[4-part harmony]] }}</nowiki></code>
:: <code><nowiki>{{Nowrap| [[Wikipedia:Cascading Style Sheets|CSS]] }}</nowiki></code>
:: <code><nowiki>{{Nowrap| [[#Examples|Examples section]] }}</nowiki></code>
 
Line 39 ⟶ 40:
 
=== Handling equal-sign or bar ===
[[Wikipedia:Help:TemplateTemplate‏‎ |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 <code><nowiki>{{{|=}}}</nowiki></code>, or the <code><nowiki>{{=}}</nowiki></code> template. For example: