Template:'/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
Line 20: Line 20:


=== See also ===
=== See also ===
* {{tlx|´|plaincode}} and {{tlx|-´|plaincode}} – used to insert a single prime
* {{tlx|``|plaincode}} and {{tlx|-`|plaincode}} – used to insert a single prime
* {{tlx|"|plaincode}} and {{tlx|-"|plaincode}} – used to insert a double prime
* {{tlx|"|plaincode}} and {{tlx|-"|plaincode}} – used to insert a double prime


{{esctl}}
{{esctl}}

Revision as of 14:47, 8 February 2026

This template should not be substituted.
English Wikipedia has an article on:

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 &#39;. {{'}} 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

  • {{``}} and {{-`}} – used to insert a single prime
  • {{"}} and {{-"}} – used to insert a double prime
Template calls for escaping characters
Template call* Output** HTML alternative***
{{!}} (m) | &#124; or {{pipe}}
{{=}} (m) = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91; or {{lbrack}}
{{)!}} ] &#93; or {{rbrack}}
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!+}} |+ &#124;&#43;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;
{{'}} ' &#39;
{{colon}} : &#58;
{{^(}} < &#60; or &lt;
{{)^}} > &#62; or &gt;
This table: ViewTalkEdit

* m for magic word

** Delayed interpretation as Wiki markup

*** Never interpreted as Wiki markup