Template:Nowrap/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(fr) |
||
Line 19: | Line 19: | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
[[fr:Modèle:Nobr]] | |||
[[no:mal:Nowrap]] | [[no:mal:Nowrap]] | ||
[[ru:Шаблон:nobr]] | [[ru:Шаблон:nobr]] | ||
</includeonly> | </includeonly> |
Revision as of 03:10, 7 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
|
or{{!}}
. For example,{{nowrap|1=|2| < 3}}
- produces |2| < 3.