Template:'/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
Documentation page update
Line 2: Line 2:
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.
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 />
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 9:
! You get
! You get
|-
|-
| <code><nowiki>''Z''{{'}}(</nowiki>{{nowrap|<nowiki>''x'' + ''y''</nowiki>}})</code>
| <code><nowiki>'''Sara Bareilles'''{{'}} latest album</nowiki></code>
| ''Z''{{'}}({{nowrap|''x'' + ''y''}})
| '''Sara Bareilles'''{{'}} latest album
|-
| <code><nowiki>''L''{{'}}s and ''s''{{'}}s</nowiki></code>
| ''L''{{'}}s and ''s''{{'}}s
|}
|}


<br /><hr />
== Technical note ==
<hr />
{{esctl}}
{{esctl}}