Template:'s/doc: Difference between revisions
Template page
More actions
Created page with "{{Documentation subpage}} {{cascade-protected template}} == Usage == <code><nowiki>{{'s}}</nowiki></code> This template allows quick entry of an apostrophe and "s" after italicized titles. Using this template avoids wikicoding issues that may occur when <code>'s</code> is used after a italicized word e.g. USS ''Ticonderoga''{{'s}}. It includes inline CSS <code><kbd>"padding-left:0.1em;"</kbd></code> to provide some separation from the previous letter. This prevents the..." |
(No difference)
|
Latest revision as of 06:46, 18 February 2025
| 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. |
Template:Cascade-protected template
Usage
{{'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
- {{'}} (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)