Template:'s/doc
Appearance
This is a documentation subpage for Template:'s. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 21,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. |
This template can only be edited by administrators because it is transcluded onto one or more cascade-protected pages. |
Usage
[edit]{{'s}}
This template allows quick entry of an apostrophe and "s" after italicized titles. Using this template avoids wikicoding issues that may occur when 's
is used after a italicized word e.g. USS Ticonderoga's. It includes inline CSS "padding-left:0.1em;"
to provide some separation from the previous letter. This prevents the italicized text from crashing into the apostrophe, e.g. MIT's would otherwise appear as MIT's (note the apostrophe crossing the right side of the "T" in some fonts) due to the absence of padding.
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)