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 12: Line 12:


=== Technical notes ===
=== Technical notes ===
The templates {{plaincode|<nowiki>{{'s}}</nowiki>}} and {{tlx|`s}} are used in the ''opposite'' manner compared to on Wikipedia: On Wikipedia {{plaincode|<nowiki>{{'s}}</nowiki>}} adds a space before the apostrophe and {{tlx|`s}} does not, whereas on the Xenharmonic Wiki {{tlx|`s}} adds spacing and {{tlx|'s}} does not.
The templates {{plaincode|<nowiki>{{'s}}</nowiki>}} and {{tlx|`s|plaincode}} are used in the ''opposite'' manner compared to on Wikipedia: On Wikipedia {{plaincode|<nowiki>{{'s}}</nowiki>}} adds a space before the apostrophe and {{tlx|`s|plaincode}} does not, whereas on the Xenharmonic Wiki {{tlx|`s|plaincode}} adds spacing and {{plaincode|<nowiki>{{'s}}</nowiki>}} does not.

Revision as of 14:31, 16 January 2026

This template allows quick entry of an apostrophe and "s" using the decimal code for the apostrophe or single-quote character. When taking the possessive of titles, or when indicating the derivative of a function, this template prevents an apostrophe or single quote from becoming mistakenly interpreted with adjacent bold (''') or italic ('') Wiki markup.

You type You get
'''Taylor Swift'''{{'s}} latest album Taylor Swift's latest album

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.