Template:'/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| 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 13: | Line 15: | ||
| ''L''{{'}}s and ''s''{{'}}s | | ''L''{{'}}s and ''s''{{'}}s | ||
|} | |} | ||
<br /><hr /> | <br /><hr /> | ||
{{esctl}} | {{esctl}} | ||
Revision as of 18:21, 1 January 2025
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 call* | Output** | HTML alternative*** |
|---|---|---|
{{!}} (m) |
| | | or {{pipe}}
|
{{=}} (m) |
= | =
|
{{!!}} |
|| | ||
|
{{!(}} |
[ | [ or {{lbrack}}
|
{{)!}} |
] | ] or {{rbrack}}
|
{{!((}} |
[[ | [[
|
{{))!}} |
]] | ]]
|
{{(}} |
{ | {
|
{{)}} |
} | }
|
{{((}} |
{{ | {{
|
{{))}} |
}} | }}
|
{{(((}} |
{{{ | {{{
|
{{)))}} |
}}} | }}}
|
{{(!}} |
{| | {|
|
{{!+}} |
|+ | |+
|
{{!-}} |
|- | |-
|
{{!)}} |
|} | |}
|
{{'}} |
' | '
|
{{colon}} |
: | :
|
{{^(}} |
< | < or <
|
{{)^}} |
> | > or >
|
| This table: View • Talk • Edit | ||
* m for magic word
** Delayed interpretation as Wiki markup
*** Never interpreted as Wiki markup
