Diferencia entre revisiones de «Plantilla:Nowrapcode/doc Ver historial

(fixed link)
 
(Página creada con «{{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> Template to add no-break spaces and no-break hyphens between words using the code tags.<br/> ==Syntax== <code><n...»)
 
Línea 1: Línea 1:
#REDIRECT [[Editing restrictions#Segment lock]]
{{doc subpage}}
<!-- 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.
 
 
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Formatting templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
</includeonly>

Revisión actual - 09:14 15 ago 2017

This is a documentation subpage for Plantilla:Nowrapcode.
It contains usage information, categories and other content that is not part of the original plantilla 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.