Help:Template cheatsheet: Difference between revisions

Content deleted Content added
Line 569:
{| class="wikitable"
|+
! rowspan=2 |Template
! rowspan=2 |Shortcut /
Alternative
! colspan=2 |HTML Entity Code
! rowspan=2 |{{Bordered arrows|Size}}
!Usage
! rowspan=2 |Usage
!Example
! rowspan=2 |Example
! rowspan=2 |Rendered
! rowspan=2 |Description
|-
!Decimal
! colspan=7 {{left}} Non-Breaking Space characters
!Named
|-
! colspan=79 {{left}} Non-Breaking Space characters
|-
|{{Tl|zero width joiner}}
|{{Tl|zwj}}
| ‍
| ‍
|{{Bordered arrows|{{zero width joiner}}}}
|{{smallcaps|no parameters}}
|<code><nowiki>''A zero width joiner''{{zero width joiner}}{{fake citation needed}}</nowiki></code>
|''A zero width joiner''{{zero width joiner}}{{fake citation needed}}
| Invisibly 'sews together' two words as if they were a single word
|Used to display the HTML character entity &amp;zwj;
|-
|{{Tl|hair space}}
|{{Tl|hsp}} {{Tl|hairsp}} {{Tl|px1}}
| &amp;#8202;
| &amp;hairsp;
|{{Bordered arrows|{{hair space}}}}
|{{smallcaps|no parameters}}
|<code><nowiki>''A hair space''{{hsp}}{{fake citation needed}}</nowiki></code>
|''A hair space''{{hsp}}{{fake citation needed}}
| 1 pixel width non-breaking space
|Used to display the HTML character entity &amp;hairsp;
|-
|{{Tl|narrow no-break space}}
|{{Tl|nnbsp}} {{Tl|NNBSP}} {{Tl|8239}}
| &amp;#8239;
|
|{{Bordered arrows|{{narrow no-break space}}}}
|<code><nowiki>{{nnbsp|symbol}}</nowiki></code>
|<code><nowiki>wedding cost US${{nnbsp}}2,000,000.</nowiki></code>
|wedding cost US${{nnbsp}}2,000,000.
| Narrow non-breaking space
|Used to display the HTML character entity &amp;#8239;
|-
|{{Tl|thin space}}
| {{Tl|tsp}}
| &amp;#8201;
| &amp;thinsp;
|{{Bordered arrows|{{thin space}}}}
|<code><nowiki>{{thin space|symbol}}</nowiki></code>
|<code><nowiki>({{thin space|symbol}}) instead of: (symbol)</nowiki></code>
|({{thin space|symbol}}) instead of: (symbol)
|A thin non-breaking space 1/5 of an em
|Used to display the HTML character entity &amp;thinsp;
|-
|{{Tl|spaces}}
|{{Tl|space}} {{Tl|nbsp}}
|
|
|{{Bordered arrows|{{spaces}}}}
|<code><nowiki>{{spaces|number off|type}}</nowiki></code>
Line 622 ⟶ 636:
|{{Tl|figure space}}
|{{Tl|fs}} {{Tl|fsp}}
|
|
|{{Bordered arrows|{{figure space}}}}
|<code><nowiki>{{Figure space|number off}}</nowiki></code>
Line 629 ⟶ 645:
|-
|{{Tl|ns}}
|
|
|
|{{Bordered arrows|{{ns}}}}
Line 637 ⟶ 655:
|-
|{{Tl|quad}}
|
|
|
|{{Bordered arrows|{{quad}}}}
Line 645 ⟶ 665:
|-
|{{Tl|nb5}}
|
|
|
|{{Bordered arrows|{{nb5}}}}
Line 653 ⟶ 675:
|-
|{{Tl|nb10}}
|
|
|
|{{Bordered arrows|{{nb10}}}}
Line 660 ⟶ 684:
|Inserts ten non-breaking spaces
|-
! colspan=79 {{left}} Breaking Space characters
|-
|{{Tl|zero width space}}
|{{Tl|zwsp}} {{Tl|0ws}}
|
|
|{{Bordered arrows|{{zero width space}}}}
|{{smallcaps|no parameters}}
Line 671 ⟶ 697:
|-
|{{Tl|sp}}
|
|
|
|{{Bordered arrows|{{sp}}}}
Line 678 ⟶ 706:
|Used to display the HTML character entity &amp;#32;
|-
! colspan=79 {{left}} Non-characters spaces
|-
|{{Tl|px2}}
|{{Tl|space}} {{Tl|px2}}}}
|
|
|{{Bordered arrows|{{px2}}}}
|<code><nowiki></nowiki></code>
Line 689 ⟶ 719:
|-
|{{Tl|gaps}}
|
|
|
|<code style="border:0.1px solid blue; background-color:lightgray">→</code><span style="visibility:hidden; color:transparent; padding-left:0.25em"></span><code style="border:0.1px solid blue; background-color:lightgray">←</code>
Line 697 ⟶ 729:
|-
|{{Tl|pad}}
|
|
|
|{{Bordered arrows|{{pad}}}}
Line 705 ⟶ 739:
|-
|{{Tl|in5}}
|
|
|
|{{Bordered arrows|{{in5}}}}
Line 713 ⟶ 749:
|-
|{{Tl|vpad}}
|
|
|
|
Line 721 ⟶ 759:
|-
|{{Tl|indent}}
|
|
|
|
Line 730 ⟶ 770:
|{{Tl|outdent}}
|{{Tl|out}} {{Tl|od}}
|
|
|
|<code><nowiki></nowiki></code>