Help:Template cheatsheet: Difference between revisions

Content deleted Content added
Line 636:
|{{Tl|figure space}}
|{{Tl|fs}} {{Tl|fsp}}
|  
|
|  
|
|{{Bordered arrows|{{figure space}}}}
|<code><nowiki>{{Figure space|number off}}</nowiki></code>
|<code><nowiki>123{{br}}1{{fsp}}3</nowiki></code>
|123{{br}}1{{fsp}}3
| A non-breaking space equal in width to a digit
|Used to display the HTML character entity &amp;#8199;
|-
|{{Tl|ns}}
|
| &amp;#160;
|
| &amp;nbsp;
|
|{{Bordered arrows|{{ns}}}}
|<code><nowiki>{{ns|number off}}</nowiki></code>
|<code><nowiki>Ten{{ns|10}}eight{{ns|8}}six{{ns|6}}four{{ns|4}}!</nowiki></code>
|Ten{{ns|10}}eight{{ns|8}}six{{ns|6}}four{{ns|4}}!
| Without any parameters inserts 3 non-breaking spaces
|Used to display the HTML character entity &amp;#160;
|-
|{{Tl|quad}}
|
| &amp;#160;
|
| &amp;nbsp;
|
|{{Bordered arrows|{{quad}}}}
|{{smallcaps|no parameters}}
|<code><nowiki>text{{quad}}text</nowiki></code>
|text{{quad}}text
|PlacesInserts four consecutive4 non-breaking spaces (&amp;nbsp;) in a row.
|-
|{{Tl|nb5}}
|
| &amp;#160;
|
| &amp;nbsp;
|
|{{Bordered arrows|{{nb5}}}}
|<code><nowiki>{{nb5|number of spaces}}</nowiki></code>
|<code><nowiki>text{{nb5}}text</nowiki></code>
|text{{nb5}}text
|Indents byInserts 5 spaces, or specified number ofnon-breaking spaces
|-
|{{Tl|nb10}}
|
| &amp;#160;
|
| &amp;nbsp;
|
|{{Bordered arrows|{{nb10}}}}
|{{smallcaps|no parameters}}
|<code><nowiki>text{{nb10}}text</nowiki></code>
|text{{nb10}}text
|Inserts ten10 non-breaking spaces
|-
! colspan=9 {{left}} Breaking Space characters
Line 688:
|{{Tl|zero width space}}
|{{Tl|zwsp}} {{Tl|0ws}}
| &amp;#8203;
|
| &amp;ZeroWidthSpace;
|
|{{Bordered arrows|{{zero width space}}}}
|{{smallcaps|no parameters}}
|<code><nowiki>ribulosebisphosphate{{0ws}}carboxylaseoxygenase</nowiki></code>
|ribulosebisphosphate{{0ws}}carboxylaseoxygenase
|Used to displayindicate thewhere HTMLvery characterlarge entitywords &amp;#x200B;will break if necessary
|-
|{{Tl|sp}}
|
| &amp;#32;
|
|
|{{Bordered arrows|{{sp}}}}
|<code><nowiki></nowiki></code>
|<code><nowiki>I like green{{#if:{{{blue|}}}|{{sp}}and blue|{{sp}}but not blue}}</nowiki></code>
| I like green{{#if:{{{blue|}}}|{{sp}}and blue|{{sp}}but not blue}}
|
|Most common space entity, typically used in passing template parameters
|Used to display the HTML character entity &amp;#32;
|-
! colspan=9 {{left}} Non-characters spaces