Template:`/doc
![]() | This is a documentation subpage for Template:`. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 19,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]This template uses the decimal code for the apostrophe or single-quote character so that it does not become interpreted with adjacent bold ('''
) wiki markup. This situation most commonly arises when taking the possessive of titles that should be bolded. It may also be used for the possessive of something in italics within italics, which makes it non-italic (see Iliad example below). {{`}} is shorter than <nowiki>'</nowiki>
and clearer than an unadorned '
. For example:
... that '''[[Bhutan]]'''{{`}}s capital is [[Thimphu]]?
generates:
This template is similar to {{'}} and {{'-}}, except that it does not put any leading space before or trailing space after (respectively) the apostrophe. This template ({{`}}
) is intended for use with non-italic text, whereas {{'}}
is intended for use with italic text. For example:
The ''Iliad''{{'}}s vocabulary is archaic.
generates:
- The Iliad's vocabulary is archaic.
with a tiny amount of space before the apostrophe to avoid colliding with the italic d at the end of Iliad. Conversely, this template should be used if the previous text is not italicized. For example:
The Iliad{{`}}s vocabulary is archaic.
generates:
- The Iliad's vocabulary is archaic.
without the extra space, which would be distracting here. (Compare to The Iliad's vocabulary is archaic.)
See also
[edit]- {{'}} (Template:Apostrophe) – for use with adjacent italic markup
- {{`}} – for use with adjacent bold markup
- {{'s}} – for inserting an apostrophe and "s" immediately following italic markup
- {{`s}} – for inserting an apostrophe and "s" immediately following bold markup
- {{′}} (Template:Prime)
- {{''}}
- {{' "}} (Template:Single+double)
- {{" '}} (Template:Double+single)
- {{' '}} (Template:Single+single)
- {{" ' "}} (Template:Double+single+double)
- {{' " '}} (Template:Single+double+single)
- {{-"}} (Template:Space+double)
- {{"-}} (Template:Double+space)
- {{-'}} (Template:Space+single)
- {{'-}} (Template:Single+space)
- {{--)}} (Template:Space+parenthesis) (it's
--)
because)
and-)
were already used by other templates) - {{(-}} (Template:Parenthesis+space) (using
(--
also works, for consistency with the one above)