Template:'/doc: Difference between revisions
ArrowHead294 (talk | contribs) |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 15: | Line 15: | ||
When an apostrophe follows italicized text, {{tlx|`|plaincode}} and {{tlx|`s|plaincode}} can be used to additionally prevent the last letter of the right-leaning text from interfering with the apostrophe. | When an apostrophe follows italicized text, {{tlx|`|plaincode}} and {{tlx|`s|plaincode}} can be used to additionally prevent the last letter of the right-leaning text from interfering with the apostrophe. | ||
The templates {{plaincode|<nowiki>{{'}}</nowiki>}} and {{tlx|`|plaincode}} are used in the ''opposite'' manner compared to on Wikipedia: On Wikipedia {{ | The templates {{plaincode|<nowiki>{{'}}</nowiki>}} and {{tlx|`|plaincode}} are used in the ''opposite'' manner compared to on Wikipedia: On Wikipedia {{plaincode|<nowiki>{{'}}</nowiki>}} adds a space before the apostrophe and {{tlx|`|plaincode}} does not, whereas on the Xenharmonic Wiki {{tlx|`|plaincode}} adds spacing and {{plaincode|<nowiki>{{'}}</nowiki>}} does not. | ||
When inserting an apostrophe before a lowercase "s", it is recommended to use {{tlx|'s|plaincode}}, as {{plaincode|<nowiki>{{'}}s</nowiki>}} can be somewhat awkward. For example: <code><nowiki>'''John'''{{'s}} house</nowiki></code> | When inserting an apostrophe before a lowercase "s", it is recommended to use {{tlx|'s|plaincode}}, as {{plaincode|<nowiki>{{'}}s</nowiki>}} can be somewhat awkward. For example: <code><nowiki>'''John'''{{'s}} house</nowiki></code> | ||
Latest revision as of 19:02, 12 February 2026
| This template should not be substituted. |
This template uses the decimal code for the apostrophe or single-quote character. It is shorter than <nowiki>'</nowiki> or <nowiki/>' and is designed to be clearer than an unadorned '. {{'}} and {{'s}} prevent apostrophes and single quotes from becoming mistakenly interpreted with adjacent bold (''') or italic ('') Wiki markup.
Usage
| You type | You get |
|---|---|
'''Sara Bareilles'''{{'}} latest album
|
Sara Bareilles' latest album |
Technical note
When an apostrophe follows italicized text, {{`}} and {{`s}} can be used to additionally prevent the last letter of the right-leaning text from interfering with the apostrophe.
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: '''John'''{{'s}} house
See also
| Template call* | Output** | HTML alternative*** |
|---|---|---|
{{!}} (m) |
| | | or {{pipe}}
|
{{=}} (m) |
= | =
|
{{!!}} |
|| | ||
|
{{!(}} |
[ | [ or {{lbrack}}
|
{{)!}} |
] | ] or {{rbrack}}
|
{{!((}} |
[[ | [[
|
{{))!}} |
]] | ]]
|
{{(}} |
{ | {
|
{{)}} |
} | }
|
{{((}} |
{{ | {{
|
{{))}} |
}} | }}
|
{{(((}} |
{{{ | {{{
|
{{)))}} |
}}} | }}}
|
{{(!}} |
{| | {|
|
{{!+}} |
|+ | |+
|
{{!-}} |
|- | |-
|
{{!)}} |
|} | |}
|
{{'}} |
' | '
|
{{colon}} |
: | :
|
{{^(}} |
< | < or <
|
{{)^}} |
> | > or >
|
| This table: View • Talk • Edit | ||
* m for magic word
** Delayed interpretation as Wiki markup
*** Never interpreted as Wiki markup
