Difference between revisions of "Template:'s/doc"
Jump to navigation
Jump to search
blackwiki>Sawol m (→See also) |
blackwiki>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt and Wikipedia:HTML5, and Help:Extension:Linter/obsolete-tag. using AWB) |
||
| Line 5: | Line 5: | ||
<code><nowiki>{{'s}}</nowiki></code> | <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 "'s" is used after a wiki-italicized word such as a ship name or book title used as a possessive noun, e.g. USS ''Ticonderoga''{{'s}}. It includes inline CSS <code>< | + | 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 wiki-italicized word such as a ship name or book title used as a possessive noun, 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 italicized text from crashing into the apostrophe, e.g. ''MIT''{{'s}} would otherwise appear as ''MIT''<nowiki>'</nowiki>s (note the apostrophe crossing the right side of the "T" in some fonts) due to the absence of padding. |
== See also == | == See also == | ||
Revision as of 05:05, 5 August 2018
| This is a documentation subpage for Template:'s. It contains usage information, categories and other content that is not part of the original template page. |
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 wiki-italicized word such as a ship name or book title used as a possessive noun, 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)
- {{'s}}
- {{′}} (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)