Template:`s/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) m Move note |
||
| Line 1: | Line 1: | ||
{{dochead}}{{wikipedia}} | {{dochead}}{{wikipedia}} | ||
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 {{tlx|'s|plaincode}} except that it inserts a small amount of space before the apostrophe to avoid such collisions. | 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 {{tlx|'s|plaincode}} except that it inserts a small amount of space before the apostrophe to avoid such collisions. | ||
=== Usage === | === Usage === | ||
| Line 15: | Line 13: | ||
=== Technical notes === | === Technical notes === | ||
The templates {{tlx|'s}} and {{tlx|`s}} are used in the ''opposite'' manner compared to on Wikipedia: On Wikipedia {{tlx|'}} adds a space before the apostrophe and {{tlx|`}} does not, whereas on the Xenharmonic Wiki {{tlx|`}} adds spacing and {{tlx|'}} does not. | |||
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:36, 15 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 ''Illiad''{{`s}} vocabulary
|
The Illiad's vocabulary |
Technical notes
The templates {{'s}} and {{`s}} are used in the opposite manner compared to on Wikipedia: On Wikipedia {{'}} adds a space before the apostrophe and {{`}} does not, whereas on the Xenharmonic Wiki {{`}} adds spacing and {{'}} does not.
This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in CSS.
