Template:Single space/doc

From MattWiki
Jump to navigation Jump to search

Usage

This template, {{'-}} or Template:Single space, 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 trailing space after the single quotation mark/apostrophe, unlike the similar {{`}} (no spacing), {{-'}} (leading space before 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 ends on the right-hand side with an apostrophe/single quote, whereas {{-'}} is for the left-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:

Critical Review of 'My Two Front Teeth{{'-}}

results in:

"Critical Review of 'My Two Front Teeth'"

compared to:

"Critical Review of 'My Two Front Teeth'"

produced by:

"Critical Review of 'My Two Front Teeth'"

Note the slight visual spacing difference between these two:

  • Teeth'"
  • Teeth'"

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

See also
https://wiki.mattrude.com/Template:Single_space/doc
wiki.mattrude.com
crawl=CC-MAIN-2019-04
25621
application/http; msgtype=response
sha1:EQQP5SBEQP5V7UQT72GAEUV3XHETEJTO
<urn:uuid:eec45dee-4bf5-4a2a-ad6a-fbb87993f7cb>
2019-01-23T15:22:52Z
104.236.216.156
text/html
sha1:DUHJN6HQNR2BBI6WI2TZ7DNQ4ABBP6JY
<urn:uuid:054f10cb-2fa8-4976-aaa1-83cd641c66db>
https://wiki.mattrude.com/Template:Single_space/doc
response
<urn:uuid:835bc73d-a2a0-4a0d-8ba3-847249b16df8>
isPartOf: CC-MAIN-2019-04
publisher: Common Crawl
description: Wide crawl of the web for January 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-143-87-11.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/