Template:'/doc

From Xenharmonic Wiki
Revision as of 16:51, 24 December 2024 by ArrowHead294 (talk | contribs)
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.

Sometimes, apostrophes may collide with certain characters such as lowercase d⁠ ⁠'s and l⁠ ⁠'s, especially after bold or italic text. In such cases, {{nbhsp}} can be used to insert a small amount of space before the apostrophe to avoid such collisions.

You type You get
''Z''{{'}}(''x'' + ''y'') Z'(x + y)
The ''Illiad''{{nbhsp}}{{'}}s vocabulary The Illiad⁠ ⁠'s vocabulary



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;
{{**}} * &#42;
This table: ViewTalkEdit

* m for magic word

** Delayed interpretation as Wiki markup

*** Never interpreted as Wiki markup