Template:Nowrap/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m ({{!}})
Line 8: Line 8:
*:<code><big><nowiki>{{nowrap|</nowiki>1=2 + 2 = 4}}</big></code>
*:<code><big><nowiki>{{nowrap|</nowiki>1=2 + 2 = 4}}</big></code>
*:produces 2 + 2 = 4.
*:produces 2 + 2 = 4.
*For text that includes a [[vertical bar]] (|), escape the bar(s) with <code><nowiki>&amp;#124;</nowiki></code>. For example,
*For text that includes a [[vertical bar]] (|), escape the bar(s) with <code><nowiki>&amp;#124;</nowiki></code> or <code><nowiki>{{!}}</nowiki></code>. For example,
*:<code><big><nowiki>{{nowrap|</nowiki>1=&amp;#124;2&amp;#124; < 3}}</big></code>
*:<code><big><nowiki>{{nowrap|</nowiki>1=&amp;#124;2&amp;#124; < 3}}</big></code>
*:produces |2| < 3.
*:produces |2| < 3.

Revision as of 05:44, 15 April 2007

Template:Template doc page viewed directly

Syntax
{{nowrap|your text}}
Handling interpreted characters
  • For text that includes an equals sign (=), precede the text with 1=. For example,
    {{nowrap|1=2 + 2 = 4}}
    produces 2 + 2 = 4.
  • For text that includes a vertical bar (|), escape the bar(s) with &#124; or {{!}}. For example,
    {{nowrap|1=&#124;2&#124; < 3}}
    produces |2| < 3.