Template:'/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{dochead}}{{wikipedia|Template:Apostrophe}}
{{dochead}}{{wikipedia|Template:Apostrophe}}
This template uses the [[wikipedia:List of XML and HTML character entity references|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''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) Wiki markup.<br /><br />
This template uses the [[wikipedia:List of XML and HTML character entity references|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''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) Wiki markup.
 
To insert an apostrophe and have it slightly spaced out from the rest of the text, use {{tlx|-'}}.<br /><br />


{| class="wikitable" style="text-align: center; margin: auto;"
{| class="wikitable" style="text-align: center; margin: auto;"
Line 9: Line 11:
| <code><nowiki>''Z''{{'}}(</nowiki>{{nowrap|<nowiki>''x'' + ''y''</nowiki>}})</code>
| <code><nowiki>''Z''{{'}}(</nowiki>{{nowrap|<nowiki>''x'' + ''y''</nowiki>}})</code>
| ''Z''{{'}}({{nowrap|''x'' + ''y''}})
| ''Z''{{'}}({{nowrap|''x'' + ''y''}})
|-
| <code><nowiki>''L''{{'}}s and ''s''{{'}}s</nowiki></code>
| ''L''{{'}}s and ''s''{{'}}s
|}
|}
=== See also ===
* [[Template:-']]


<br /><hr />
<br /><hr />
{{esctl}}
{{esctl}}

Latest revision as of 18:21, 1 January 2025

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
''Z''{{'}}(''x'' + ''y'') Z'(x + y)
''L''{{'}}s and ''s''{{'}}s L's and s's



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

* m for magic word

** Delayed interpretation as Wiki markup

*** Never interpreted as Wiki markup