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

From blackwiki
Jump to navigation Jump to search
blackwiki>Retro
m (28 revisions imported)
 
(One intermediate revision by one other user not shown)
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><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.
+
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 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 ==

Latest revision as of 08:59, 30 September 2020

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