Template:'/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) Docu page |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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. | |||
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;" | |||
|- | |||
! You type | |||
! You get | |||
|- | |||
| <code><nowiki>''Z''{{'}}(</nowiki>{{nowrap|<nowiki>''x'' + ''y''</nowiki>}})</code> | |||
| ''Z''{{'}}({{nowrap|''x'' + ''y''}}) | |||
|- | |||
| <code><nowiki>''L''{{'}}s and ''s''{{'}}s</nowiki></code> | |||
| ''L''{{'}}s and ''s''{{'}}s | |||
|} | |||
<br /><hr /> | |||
{{esctl}} | {{esctl}} |
Latest 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