Misplaced Pages

Template:Space+single

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Template:-')

'

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Misplaced Pages:COinS.

Usage

This template, {{-'}} or Template:Space+single, uses the decimal code for the apostrophe or single-quote character so that it does not become interpreted with adjacent italics ('') or bold (''') wiki markup, or visually confused with other quotation marks.

This template leaves leading space before the single quotation mark/apostrophe, unlike the similar {{`}} (no spacing), {{'-}} (trailing space after the single quote) and {{'}} (smaller leading space before the apostrophe). It does not insert any semantically-invalid space characters, but does all the spacing visually-only, in CSS.

This template is intended for use with double-quote-providing templates when the content quoted starts on the left-hand side with an apostrophe/single quote, whereas {{'-}} is for the right-hand side, {{'}} is intended for use with italic text, and {{`}} is for non-italic text.

Do not use these templates in the |title= parameter of Citation Style 1 templates. Doing so corrupts the COinS metadata produced by the citation.

Example:

"{{-'}}My Two Front Teeth': A Critical Review"

results in:

"'My Two Front Teeth': A Critical Review"

compared to:

"'My Two Front Teeth': A Critical Review"

produced by:

"'My Two Front Teeth': A Critical Review"

Note the slight visual spacing difference between these two:

  • "'My
  • "'My

The equivalent template when manually placing double quotes around a single-quoted passage is {{" '}}; see also {{'-}} and {{' "}} for the right-hand side equivalents (parameter and manual, respectively).

See also

The above documentation is transcluded from Template:Space+single/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: