Template:`/doc: Difference between revisions

ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
mNo edit summary
Line 15: Line 15:
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]].


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


When inserting an apostrophe before a lowercase "s", it is recommended to use {{tlx|`s}} instead. For example:
When inserting an apostrophe before a lowercase "s", it is recommended to use {{tlx|`s|plaincode}} instead. For example:


<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
The ''Illiad''{{`s}} vocabulary
The ''Illiad''{{`s}} vocabulary
</syntaxhighlight>
</syntaxhighlight>