Template:Space+single/doc
More actions
| This is a documentation subpage for Template:Space+single. It may contain usage information, categories and other content that is not part of the original template page. |
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), {{Template:Single+space}} (trailing space after the single quote) and {{Template:Apostrophe}} (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 {{Template:Single+space}} is for the right-hand side, {{Template:Apostrophe}} is intended for use with italic text, and {{`}} is for non-italic text.
- Do not use these templates in the
|title=parameter of Template:Cs1 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 {{Template:Double+single}}; see also {{Template:Single+space}} and {{Template:Single+double}} for the right-hand side equivalents (parameter and manual, respectively).
See also
- {{'}} (Template:Apostrophe) – for use with adjacent italic markup
- {{`}} – for use with adjacent bold markup
- {{'s}} – for inserting an apostrophe and "s" immediately following italic markup
- {{`s}} – for inserting an apostrophe and "s" immediately following bold markup
- {{′}} (Template:Prime)
- {{''}}
- {{' "}} (Template:Single+double)
- {{" '}} (Template:Double+single)
- {{' '}} (Template:Single+single)
- {{" ' "}} (Template:Double+single+double)
- {{' " '}} (Template:Single+double+single)
- {{-"}} (Template:Space+double)
- {{"-}} (Template:Double+space)
- {{-'}} (Template:Space+single)
- {{'-}} (Template:Single+space)
- {{--)}} (Template:Space+parenthesis) (it's
--)because)and-)were already used by other templates) - {{(-}} (Template:Parenthesis+space) (using
(--also works, for consistency with the one above)