Difference between revisions of "Template:Spaces"
Jump to navigation
Jump to search
test>Netscott (make it a nice round decimal number like 10) |
test>David Kernow (+explanation, category, nowrap <span> as some browsers apparently ignore ) |
||
| Line 1: | Line 1: | ||
| − | {{ #switch: {{{1}}} | + | <span style="white-space:nowrap;">{{#switch: {{{1}}} |
| − | | 2 = | + | | 2 = |
| − | | 3 = | + | | 3 = |
| − | | 4 = | + | | 4 = |
| − | | 5 = | + | | 5 = |
| − | | 6 = | + | | 6 = |
| − | | 7 = | + | | 7 = |
| − | | 8 = | + | | 8 = |
| − | | 9 = | + | | 9 = |
| 10 = | | 10 = | ||
| | | | ||
| − | }} | + | }}</span><noinclude> |
| + | Template to minimize code used for multiple consecutive [[non-breaking space]]s ("<code><big>&nbsp;</big></code>"s). | ||
| + | |||
| + | ; Syntax : <code><big><nowiki>{{nbsp|</nowiki>''N''}}</big></code><br/>where ''N'' is a numeral from 2 to 10 (the desired number of non-breaking spaces). Defaults to a single non-breaking space. | ||
| + | |||
| + | |||
| + | <!--Categories--> | ||
| + | [[Category:Wikipedia utility templates|{{PAGENAME}}]] | ||
| + | </noinclude> | ||
Revision as of 05:42, 24 November 2006
Template to minimize code used for multiple consecutive non-breaking spaces (" "s).
- Syntax
{{nbsp|N}}
where N is a numeral from 2 to 10 (the desired number of non-breaking spaces). Defaults to a single non-breaking space.