Template:Nbsp: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(text code for nonbreakable space)
 
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<tt>&</tt>nbsp;
<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&nbsp;XYZ'''
 
 
'''Note:''' There are places where the use of a template is not desirable or it doesn't work properly; in this case, use the standard HTML notation instead:
 
: <b>ABC&amp</b><b>;nbsp;XYZ</b> reproduces '''ABC&amp;nbsp;XYZ'''
}}
[[Category:Special character templates]]</noinclude>

Latest revision as of 18:20, 20 April 2013

&nbsp;

This template is for use in literal reproduction of the oft used &nbsp; in text. Thus, typing

ABC{{nbsp}}XYZ 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 doesn't work properly; in this case, use the standard HTML notation instead:

ABC&amp;nbsp;XYZ reproduces ABC&nbsp;XYZ