Template:Space+single/doc

< Template:Space+single
Revision as of 00:59, 27 April 2020 by wiki>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

"Template:-'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:

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

Template:Quotation mark templates