Template:`s/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 17: Line 17:
The templates {{tlx|'s|plaincode}} and {{plaincode|<nowiki>{{`s}}</nowiki>}} are used in the ''opposite'' manner compared to on Wikipedia: On Wikipedia {{tlx|'s|plaincode}} adds a space before the apostrophe and {{plaincode|<nowiki>{{`s}}</nowiki>}} does not, whereas on the Xenharmonic Wiki {{plaincode|<nowiki>{{`s}}</nowiki>}} adds spacing and {{tlx|'s|plaincode}} does not.
The templates {{tlx|'s|plaincode}} and {{plaincode|<nowiki>{{`s}}</nowiki>}} are used in the ''opposite'' manner compared to on Wikipedia: On Wikipedia {{tlx|'s|plaincode}} adds a space before the apostrophe and {{plaincode|<nowiki>{{`s}}</nowiki>}} does not, whereas on the Xenharmonic Wiki {{plaincode|<nowiki>{{`s}}</nowiki>}} adds spacing and {{tlx|'s|plaincode}} does not.


To type out a prime symbol, use the templates {{tlx|,|plaincode}} and {{tlx|-,|plaincode}}.
=== See also ===
* {{tlx|´|plaincode}} and {{tlx|-´|plaincode}} – used to insert a single prime
* {{tlx|"|plaincode}} and {{tlx|-"|plaincode}} – used to insert a double prime

Revision as of 17:41, 26 January 2026

This template should not be substituted.
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. In these cases, {{`}} and {{`s}} can be used to prevent such collisions. This template is the same as {{'s}} except that it inserts a small amount of space before the apostrophe.

Usage

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

Technical notes

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

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.

See also

  • {{´}} and {{}} – used to insert a single prime
  • {{"}} and {{-"}} – used to insert a double prime