ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Spd/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

This is the other spaced en dash template; it renders like this (without the quotation marks): " – ". It is intended to be substituted and uses a Unicode en-dash character rather than the ASCII equivalent –, and renders the following:  –  i.e. a non-breaking space, an en dash and a normal space that will line-break and collapse.

This template has been designed as an alternative to {{Spaced ndash}}, which performs the same function but when substituted is less easily read and edited in the wikicode editing window. {{Spd}} is thus preferable to the older, ASCII-based template mentioned when substituted, in a similar way to {{mdash}}.

Example

[ਸੋਧੋ]
  • I walked past a red car{{subst:Spd}}that was parked next to a blue car{{subst:Spd}}when I fell over.

will render as:

    • I walked past a red car – that was parked next to a blue car – when I fell over.

This will appear in the editing window as:

  • I walked past a red car – that was parked next to a blue car – when I fell over.

See also

[ਸੋਧੋ]
  • {{·}}, which produces a spaced bold interpunct ("middot"): " · "
  • {{•}}, which produces a spaced bullet-point: " • "
  • {{\}}, which produces a spaced (forward-)slash: " / "
  • {{en dash}}, which produces an (unspaced) en dash.
  • {{em dash}}, which produces an (unspaced) em dash.