Template:'/doc

From Xenharmonic Wiki
Jump to navigation Jump to search
English Wikipedia has an article on:

This template uses 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.

To insert an apostrophe and have it slightly spaced out from the rest of the text, use {{`}}.

You type You get
'''Sara Bareilles'''{{'}} latest album Sara Bareilles' latest album

Technical note

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

To type out a prime symbol, use the templates {{,}} and {{-,}}.

Template calls for escaping characters
Template call* Output** HTML alternative***
{{!}} (m) | | or {{pipe}}
{{=}} (m) = =
{{!!}} || ||
{{!(}} [ [ or {{lbrack}}
{{)!}} ] ] or {{rbrack}}
{{!((}} [[ [[
{{))!}} ]] ]]
{{(}} { {
{{)}} } }
{{((}} {{ {{
{{))}} }} }}
{{(((}} {{{ {{{
{{)))}} }}} }}}
{{(!}} {| {|
{{!+}} |+ |+
{{!-}} |- |-
{{!)}} |} |}
{{'}} ' '
{{colon}} : :
{{^(}} < &#60; or &lt;
{{)^}} > &#62; or &gt;
This table: ViewTalkEdit

* m for magic word

** Delayed interpretation as Wiki markup

*** Never interpreted as Wiki markup