Template:`s/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 8: | Line 8: | ||
! You get | ! You get | ||
|- | |- | ||
| <code><nowiki>The '' | | <code><nowiki>The ''Iliad''{{`s}} vocabulary</nowiki></code> | ||
| The '' | | The ''Iliad''{{`s}} vocabulary | ||
|} | |} | ||
Revision as of 20:31, 20 January 2026
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.
Usage
| You type | You get |
|---|---|
The ''Iliad''{{`s}} vocabulary
|
The Iliad's vocabulary |
Technical notes
The templates {{'s}} and {{`s}} are used in the opposite manner compared to on Wikipedia: On Wikipedia {{'s}} adds a space before the apostrophe and {{`s}} does not, whereas on the Xenharmonic Wiki {{`s}} adds spacing and {{'s}} does not.
This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in CSS.
