Kentsmith9 (talk | contribs) (Initial doc page creation) |
Kentsmith9 (talk | contribs) m (Updated doc page) |
||
Line 1: | Line 1: | ||
{{doc subpage}} | {{doc subpage}} | ||
<!-- ADD DOCUMENTATION BELOW THIS LINE --> | <!-- ADD DOCUMENTATION BELOW THIS LINE --> | ||
Template to add no-break spaces and no-break hyphens between words using the code tags.<br/> | |||
==Syntax== | |||
<code><nowiki>{{nowrapcode</nowiki>|''text''}}</code><br /> | |||
If the <code>text</code> happens to contain an equality sign "=", specify <code><nowiki>{{nowrapcode</nowiki>|'''1='''''text''}}</code>. | |||
==Examples== | |||
{| style="background:transparent;" | |||
|<code><nowiki>{{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}}</nowiki></code> | |||
| style="width: 250px;"|{{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} | |||
|- | |||
|<code><nowiki><code>This text will wrap. This text will wrap. This text will wrap. This text will wrap. This text will wrap.</code> </nowiki></code> | |||
| <code>This text will wrap. This text will wrap. This text will wrap. This text will wrap. This text will wrap.</code> | |||
|} | |||
==See also== | |||
* {{tl|nowrap}}, to have no linewrap on standard text. | |||
Latest revision as of 20:05, 5 May 2017
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
Template to add no-break spaces and no-break hyphens between words using the code tags.
Syntax
{{nowrapcode|text}}
If the text
happens to contain an equality sign "=", specify {{nowrapcode|1=text}}
.
Examples
{{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}} {{nowrapcode|This text will not wrap.}}
|
This text will not wrap. This text will not wrap. This text will not wrap. This text will not wrap. This text will not wrap.
|
<code>This text will wrap. This text will wrap. This text will wrap. This text will wrap. This text will wrap.</code>
|
This text will wrap. This text will wrap. This text will wrap. This text will wrap. This text will wrap.
|
See also
- {{nowrap}}, to have no linewrap on standard text.