Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Space comparison

Template page
Name
(alias)
Instance Example code and ... Using {{spaces}} Output Output {{spaces}}
none <syntaxhighlight lang="html" inline="">Text<ref>...</ref></syntaxhighlight>
<syntaxhighlight lang="html" inline="">Text<ref>...</ref></syntaxhighlight>
Text[{{#ifeq:{{safesubst:#switch: no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

Hair
(Very thin)
{{#if:  {{#if: {{{1}}} 
     }}
 {{#if: {{{1}}} 
     }}
  }}
<syntaxhighlight lang="html" inline="">Text{{#if:  {{#if: {{{1}}} 
     }}
 {{#if: {{{1}}} 
     }}
  }}<ref>...</ref></syntaxhighlight>
<syntaxhighlight lang="html" inline="">Text{{#if:
 {{#if: {{{1}}} 
     }}
 {{#if: {{{1}}} 
     }}
  }}<ref>...</ref></syntaxhighlight>
Text{{spaces|hair}}<ref>...</ref> Text{{#if:  {{#if: {{{1}}} 
     }}
 {{#if: {{{1}}} 
     }}
  }}[{{#ifeq:{{safesubst:#switch: 
no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text{{#if:

 {{#if: {{{1}}} 
     }}
 {{#if: {{{1}}} 
     }}
  }}[{{#ifeq:{{safesubst:#switch: 
no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

Text{{#iferror:{{#expr:hair}} {{#switch:hair fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|hair}}

}}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text{{#iferror:{{#expr:hair}}

{{#switch:hair fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|hair}}

}}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

2-pixel <syntaxhighlight lang="html" inline="">Text<ref>...</ref></syntaxhighlight>
<syntaxhighlight lang="html" inline="">Text<ref>...</ref></syntaxhighlight>
Text[{{#ifeq:{{safesubst:#switch: no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

Narrow no-break  {{{1}}} | }}  {{{1}}} | }}<ref>...</ref></syntaxhighlight>
<syntaxhighlight lang="html" inline="">Text{{#if:| {{{1}}} | }}<ref>...</ref></syntaxhighlight>
 {{{1}}} | }}[{{#ifeq:{{safesubst:#switch: no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text{{#if:| {{{1}}} | }}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

Thin {{#if: {{{2}}}}}{{#if:| {{{3}}}}}{{#if:| {{{4}}}}}{{#if:| {{{5}}}}}{{#if:| {{{6}}}}}{{#if:| {{{7}}}}}{{#if:| {{{8}}}}}{{#if:| {{{9}}}}}{{#if:| {{{10}}}}} {{#if: {{{2}}}}}{{#if:| {{{3}}}}}{{#if:| {{{4}}}}}{{#if:| {{{5}}}}}{{#if:| {{{6}}}}}{{#if:| {{{7}}}}}{{#if:| {{{8}}}}}{{#if:| {{{9}}}}}{{#if:| {{{10}}}}}<ref>...</ref></syntaxhighlight>
<syntaxhighlight lang="html" inline="">Text{{#if:|{{#if:
{{{2}}}}}{{#if:| {{{3}}}}}{{#if:| {{{4}}}}}{{#if:| {{{5}}}}}{{#if:| {{{6}}}}}{{#if:| {{{7}}}}}{{#if:| {{{8}}}}}{{#if:| {{{9}}}}}{{#if:| {{{10}}}}}<ref>...</ref></syntaxhighlight> Text{{spaces|thin}}<ref>...</ref> {{#if: {{{2}}}}}{{#if:| {{{3}}}}}{{#if:| {{{4}}}}}{{#if:| {{{5}}}}}{{#if:| {{{6}}}}}{{#if:| {{{7}}}}}{{#if:| {{{8}}}}}{{#if:| {{{9}}}}}{{#if:| {{{10}}}}}[{{#ifeq:{{safesubst:#switch: no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text{{#if:|{{#if:|| }}}} {{#if:|{{{2}}}}}{{#if:| {{{3}}}}}{{#if:| {{{4}}}}}{{#if:| {{{5}}}}}{{#if:| {{{6}}}}}{{#if:| {{{7}}}}}{{#if:| {{{8}}}}}{{#if:| {{{9}}}}}{{#if:| {{{10}}}}}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

Text{{#iferror:{{#expr:thin}} {{#switch:thin fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|thin}}

}}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text{{#iferror:{{#expr:thin}}

{{#switch:thin fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|thin}}

}}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

Standarda   <syntaxhighlight lang="html" inline="">Text <ref>...</ref></syntaxhighlight>
<syntaxhighlight lang="html" inline="">Text <ref>...</ref></syntaxhighlight>
Text{{spaces}}<ref>...</ref> Text [{{#ifeq:{{safesubst:#switch: no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

Text{{#iferror:{{#expr:1}} {{#switch:{{{1}}} fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|1}}

}}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}1{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]
Text{{#iferror:{{#expr:1}}

{{#switch:{{{1}}} fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|1}}

}}[{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}{{#if:|}}2{{#if:|}}{{#ifeq:{{safesubst:#switch:

no n f false off 0 = = ¬ = yes y t true on 1 = yes #default = yes

}}|yes|}}]

En <syntaxhighlight lang="html" inline="">1 3</syntaxhighlight> 1{{spaces|en}}3 1 3 1{{#iferror:{{#expr:en}} {{#switch:en fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|en}}

}}3

Figure {{#iferror:{{#expr:1}} {{#switch:1 fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:fig fig=  en=  em=  thin=  hair=   
  }}|1}}

}}

<syntaxhighlight lang="html" inline="">123
1{{#iferror:{{#expr:1}}
{{#switch:1 fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:fig fig=  en=  em=  thin=  hair=   
  }}|1}}

}}3</syntaxhighlight>

123<br/>1{{spaces|fig}}3 123
1{{#iferror:{{#expr:1}}
{{#switch:1 fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:fig fig=  en=  em=  thin=  hair=   
  }}|1}}

}}3

123
1{{#iferror:{{#expr:fig}}
{{#switch:fig fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|fig}}

}}3

Em <syntaxhighlight lang="html" inline="">1 3</syntaxhighlight> 1{{spaces|em}}3 1 3 1{{#iferror:{{#expr:em}} {{#switch:em fig=  en=  em=  thin=  hair=   
  }}
rep|{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}|em}}

}}3

<span style="position:relative; bottom:{{#if: |

 a Provided here by a non-breaking space ({{ safesubst:#if:

|{{ safesubst:#ifeq:{{{demo}}} |no

|<templatestyles src="Mono/styles.css" />
|

}} |{{ safesubst:#ifeq:Template|Template

|<templatestyles src="Mono/styles.css" />
|

}}}}&nbsp;).{{SAFESUBST:#if: a Provided here by a non-breaking space ({{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no

|<templatestyles src="Mono/styles.css" />
|

}} |{{ safesubst:#ifeq:Template|Template

|<templatestyles src="Mono/styles.css" />
|

}}}}&nbsp;).||}} |0.6em}};"> a Provided here by a non-breaking space ({{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no

|<templatestyles src="Mono/styles.css" />
|

}} |{{ safesubst:#ifeq:Template|Template

|<templatestyles src="Mono/styles.css" />
|

}}}}&nbsp;).{{SAFESUBST:#if: a Provided here by a non-breaking space ({{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no

|<templatestyles src="Mono/styles.css" />
|

}} |{{ safesubst:#ifeq:Template|Template

|<templatestyles src="Mono/styles.css" />
|

}}}}&nbsp;).||}}


Debug data: