Difference between revisions of "Template:'"

From blackwiki
Jump to navigation Jump to search
test>Huntster
(Undid revision 656990304 by Huntster (talk); no longer working as intended.)
test>Huntster
(Change per talk page discussion. If there are any issues found, contact me or another admin to revert.)
Line 1: Line 1:
 '​<noinclude>
+
<span class="nowrap" style="padding-left:0.1em;">&#39;</span><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Revision as of 14:48, 20 January 2016

'

Template documentation[view] [edit] [history] [purge]

This template leaves leading space before the apostrophe, unlike the similar {{`}} (no spacing). This template is intended for use with italic text, whereas {{`}} is intended for use with non-italic text. For example:

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

generates:

  • The Iliad's vocabulary is archaic.

with a tiny amount of space before the apostrophe to avoid colliding with the italic d at the end of Iliad.

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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for '

This template creates an apostrophe with a small leading space. This template is intended for use just following bold or italic text. No parameters.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified