Template:Nbsp: Difference between revisions
Jump to navigation
Jump to search
(Special character) |
(added documentation) |
||
Line 1: | Line 1: | ||
<tt>&</tt>nbsp;<noinclude> | <tt>&</tt>nbsp;<noinclude> | ||
{{DisplayBox|bgcolor=g|text= | |||
This template is for use in literal reproduction of the oft used '''{{nbsp}}''' in text. Thus, typing | |||
: '''<nowiki>ABC{{nbsp}}XYZ</nowiki> ''' reproduces ''' ABC{{nbsp}}XYZ''' | |||
while typing | |||
: '''ABC{{nbsp}}XYZ''' reproduces ''' ABC XYZ''' | |||
'''Note:''' There are places where the use of a template is not desirable or it wont work properly; in this case, use the standard HTML notation instead: | |||
: <b>ABC&</b><b>;nbsp;XYZ</b> reproduces '''ABC&nbsp;XYZ''' | |||
}} | |||
[[Category:Special character templates]]</noinclude> | [[Category:Special character templates]]</noinclude> |
Revision as of 19:24, 20 November 2012
This template is for use in literal reproduction of the oft used in text. Thus, typing
- ABC{{nbsp}}XYZ reproduces ABC XYZ
while typing
- ABC XYZ reproduces ABC XYZ
Note: There are places where the use of a template is not desirable or it wont work properly; in this case, use the standard HTML notation instead:
- ABC&nbsp;XYZ reproduces ABC XYZ