Template:`s/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Documentation page
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 10: Line 10:
! You get
! You get
|-
|-
| <code><nowiki>The ''Illiad''{{'s}} vocabulary</nowiki></code>
| <code><nowiki>The ''Illiad''{{`s}} vocabulary</nowiki></code>
| The ''Illiad''{{'s}} vocabulary
| The ''Illiad''{{`s}} vocabulary
|}
|}


=== Technical notes ===
=== Technical notes ===
This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in [[CSS]].
This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in [[CSS]].

Revision as of 21:29, 15 January 2026

English Wikipedia has an article on:

Sometimes, apostrophes may collide with certain characters such as lowercase d's and l's, especially after bold or italic text. This template is the same as {{'s}} except that it inserts a small amount of space before the apostrophe to avoid such collisions.

The templates {{'s}} and {{`s}} are the opposite of the ones on Wikipedia: On Wikipedia {{'}} adds a space before the apostrophe and {{`}} does not, whereas on the Xenharmonic Wiki {{`}} adds spacing and {{'}} does not.

Usage

You type You get
The ''Illiad''{{`s}} vocabulary The Illiad's vocabulary

Technical notes

This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in CSS.