Template:Nowrap/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(units)
No edit summary
Line 4: Line 4:
; Syntax : <code><big><nowiki>{{nowrap|</nowiki>''your text''}}</big></code>
; Syntax : <code><big><nowiki>{{nowrap|</nowiki>''your text''}}</big></code>


; Example
; Example : <tt><nowiki>{{nowrap|34 kg}}</nowiki></tt> -- assures that the [[WP:UNITS|units]] appear on the same line as the number.
 
<tt><nowiki>{{nowrap|34 kg}}</nowiki></tt> -- assures that the [[WP:UNITS|units]] appear on the same line as the number.


;Handling interpreted characters
;Handling interpreted characters

Revision as of 17:18, 5 June 2007

Template:Template doc page viewed directly

Syntax
{{nowrap|your text}}
Example
{{nowrap|34 kg}} -- assures that the units appear on the same line as the number.
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.