Difference between revisions of "Template:'/doc"

From blackwiki
Jump to navigation Jump to search
(Replaced content with 'Apostrophe')
blackwiki>David.moreno72
m (Reverted edits by 107.77.211.198 (talk): Nonconstructive editing (HG) (3.1.19))
Line 1: Line 1:
Apostrophe
+
{{Documentation subpage}}
 +
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
 +
 
 +
This template leaves leading space before the apostrophe. This template is now intended for use with '''bold''' or ''[[Italic type|italic]]'' text. For example:
 +
* <code><nowiki>... that according to '''[[Lynne Kelly (science writer)|Lynne Kelly]]'''{{'}}s theory, ...</nowiki></code>
 +
generates:
 +
*... that according to '''[[Lynne Kelly (science writer)|Lynne Kelly]]'''{{'}}s theory, ...
 +
and
 +
* <code><nowiki>The ''Iliad''{{'}}s vocabulary is archaic.</nowiki></code>
 +
generates:
 +
* The ''Iliad''{{'}}s vocabulary is archaic.
 +
 
 +
This template is also similar to {{tl|-'}}, used to slightly space apart a leading single quote from a surrounding double quotation mark provided by a template parameter in which the content is placed, e.g. the {{para|title}} parameter of {{tl|cite web}}.  The equivalent template when manually placing double quotes around a single-quoted passage is {{tl|" '}}; see also {{tl|'-}} and {{tl|' "}} for the right-hand side equivalents (parameter and manual, respectively).  All of these templates use 0.2 em of spacing, while {{tl|'}}, this template, uses only 0.1 em of spacing, as does {{tl|'s}}, which is used for possessives in italics.
 +
 
 +
===See also===
 +
{{Quotation mark templates}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 +
| <!----PLEASE ADD CATEGORIES BELOW THIS LINE:---->
 +
[[Category:Wikipedia character-substitution templates]]
 +
[[Category:Inline spacing templates]]
 +
}}</includeonly>

Revision as of 06:24, 16 August 2016

This template leaves leading space before the apostrophe. This template is now intended for use with bold or italic text. For example:

  • ... that according to '''[[Lynne Kelly (science writer)|Lynne Kelly]]'''{{'}}s theory, ...

generates:

and

  • The ''Iliad''{{'}}s vocabulary is archaic.

generates:

  • The Iliad's vocabulary is archaic.

This template is also similar to {{-'}}, used to slightly space apart a leading single quote from a surrounding double quotation mark provided by a template parameter in which the content is placed, e.g. the |title= parameter of {{cite web}}. The equivalent template when manually placing double quotes around a single-quoted passage is {{" '}}; see also {{'-}} and {{' "}} for the right-hand side equivalents (parameter and manual, respectively). All of these templates use 0.2 em of spacing, while {{'}}, this template, uses only 0.1 em of spacing, as does {{'s}}, which is used for possessives in italics.

See also