Template:Space comparison
| Name (alias) |
→Instance← |
Example code and ... | Using {{spaces}} | Output | Output {{spaces}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| none | →← |
<syntaxhighlight lang="wikitext" inline="">Text<ref>...</ref></syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text<ref>...</ref></syntaxhighlight> |
Text{{#ifeq:Template | Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
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="wikitext" inline="">Text{{#if: | {{#if: | {{{1}}}
}} |
{{#if: | {{{1}}}
}} }}<ref>...</ref></syntaxhighlight> |
{{#if: | {{{1}}}
}} |
{{#if: | {{{1}}}
}} }}<ref>...</ref></syntaxhighlight> |
Text{{spaces|hair}}<ref>...</ref>
|
Text{{#if: | {{#if: | {{{1}}}
}} |
{{#if: | {{{1}}}
}}
}}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
{{#if: | {{{1}}}
}} |
{{#if: | {{{1}}}
}}
}}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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= |
}} |
String Module Error: function rep expects a number as second parameter, received "hair"
}}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
{{#switch:hair | fig= | en= | em= | thin= | hair= |
}} |
String Module Error: function rep expects a number as second parameter, received "hair"
}}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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="wikitext" inline="">Text<ref>...</ref></syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text<ref>...</ref></syntaxhighlight> |
Text{{#ifeq:Template | Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
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="wikitext" inline="">Text{{#if:| {{{1}}} | }}<ref>...</ref></syntaxhighlight> |
{{{1}}} | }}{{#ifeq:Template | Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
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="wikitext" 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:Template | Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
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= |
}} |
String Module Error: function rep expects a number as second parameter, received "thin"
}}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
{{#switch:thin | fig= | en= | em= | thin= | hair= |
}} |
String Module Error: function rep expects a number as second parameter, received "thin"
}}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} | |||||||||||||||
| Standard{{safesubst:#if: | <ref name="" group="{{safesubst:#switch: | note | upper-alpha | upper-roman | lower-alpha | lower-greek | lower-roman = | #default = lower-alpha
}}">Provided here by a non-breaking space ({{ safesubst:#if: |
no |
}} |
Template |
}}}} ).</ref> |
<ref group="{{safesubst:#switch: | note | upper-alpha | upper-roman | lower-alpha | lower-greek | lower-roman = | #default = lower-alpha
}}">Provided here by a non-breaking space ({{ safesubst:#if: |
no |
}} |
Template |
}}}} ).</ref>
}}|| |
<syntaxhighlight lang="wikitext" inline="">Text <ref>...</ref></syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text <ref>...</ref></syntaxhighlight> |
Text{{spaces}}<ref>...</ref>
|
Text {{#ifeq:Template | Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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= |
}} |
{{#switch:{{{2}}} | fig= | en= | em= | thin= | hair= |
}} }}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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|}}]}} |
{{#switch:{{{1}}} | fig= | en= | em= | thin= | hair= |
}} |
{{#switch:{{{2}}} | fig= | en= | em= | thin= | hair= |
}} }}{{#ifeq:Template||Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.|[{{#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="wikitext" inline="">1 3</syntaxhighlight> | 1{{spaces|en}}3
|
1 3 | 1{{#iferror:{{#expr:en}} | {{#switch:en | fig= | en= | em= | thin= | hair= |
}} |
String Module Error: function rep expects a number as second parameter, received "en"
}}3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Figure | →{{#iferror:{{#expr:1}}
|
{{#switch:1 | fig= | en= | em= | thin= | hair= |
}} |
{{#switch:fig | fig= | en= | em= | thin= | hair= |
}} }} |
<syntaxhighlight lang="wikitext" inline="">123 1 3</syntaxhighlight> |
123<br/>1{{spaces|fig}}3
|
123 1 3 |
123 1{{#iferror:{{#expr:fig}} |
{{#switch:fig | fig= | en= | em= | thin= | hair= |
}} |
String Module Error: function rep expects a number as second parameter, received "fig"
}}3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Em | → ←
|
<syntaxhighlight lang="wikitext" inline="">1 3</syntaxhighlight> | 1{{spaces|em}}3
|
1 3 | 1{{#iferror:{{#expr:em}} | {{#switch:em | fig= | en= | em= | thin= | hair= |
}} |
String Module Error: function rep expects a number as second parameter, received "em"
}}3 |
{{#switch:{{{liststyle}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=
}}{{#if:|
| {{#iferror: {{#ifexpr: > 1 }} |style="column-width: calc( 0.9 * );"}}
| {{#if: |style="column-width: calc( 0.9 * {{{colwidth}}} );"}}
}}><references group="{{safesubst:#switch:
| note | upper-alpha | upper-roman | lower-alpha | lower-greek | lower-roman = | #default = lower-alpha}}" responsive="0"></references>
|
<references group="{{safesubst:#switch:
| note | upper-alpha | upper-roman | lower-alpha | lower-greek | lower-roman = | #default = lower-alpha}}" responsive="1"></references>
}}