Template:'/doc: Difference between revisions
Jump to navigation
Jump to search
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| | 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>'' | | <code><nowiki>'''Sara Bareilles'''{{'}} latest album</nowiki></code> | ||
| '''Sara Bareilles'''{{'}} latest album | |||
| '' | |||
|} | |} | ||
== Technical note == | |||
<hr /> | |||
{{esctl}} | {{esctl}} | ||
Revision as of 21:29, 15 January 2026
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 |
|---|---|
'''Sara Bareilles'''{{'}} latest album
|
Sara Bareilles' latest album |
Technical note
| 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
