Template:`: Difference between revisions
So it seems the intro is usually placed outside the documentation section |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><span style="padding-left:0. | <includeonly><span style="padding-left: 0.125em;">'</span></includeonly><noinclude> | ||
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|'|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|'|plaincode}} except that it inserts a small amount of space before the apostrophe to avoid such collisions. | ||
Revision as of 14:22, 17 January 2025
Sometimes, apostrophes may collide with certain characters such as lowercase dTemplate:-'s and lTemplate:-'s, especially after bold or italic text. This template is the same as {{'}} except that it inserts a small amount of space before the apostrophe to avoid such collisions.
| This template should not be substituted. |
Sometimes, apostrophes may collide with certain characters such as lowercase d's and l's, especially after bold (''') or italic ('') text. In these cases, {{`}} and {{`s}} can be used to prevent such collisions. This template is the same as {{'}} except that it inserts a small amount of space before the apostrophe.
Usage
| You type | You get |
|---|---|
''The Doobie Brothers''{{`}} latest album
|
The Doobie Brothers' latest album |
''Le Serre Nuove dell{{`}}Ornellaia''
|
Le Serre Nuove dell'Ornellaia |
Technical notes
This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in CSS.
The templates {{'}} and {{`}} 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.
When inserting an apostrophe before a lowercase "s", it is recommended to use {{`s}}, as {{`}}s can be somewhat awkward. For example: The ''Iliad''{{`s}} vocabulary
