Difference between revisions of "Template:'s/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sawol
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><tt>"padding-left:0.1em;"</tt></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.
+
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

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