Template:Apostrophe/doc: Difference between revisions

From sona pona, the Toki Pona wiki
Content added Content deleted
(Imported from English Wikipedia)
 
(Removed TemplateData temporarily)
 
Line 5: Line 5:
with a tiny amount of space before the apostrophe to avoid colliding with the italic ''d'' at the end of ''Iliad''.
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 {{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 this template, {{tl|'}}, uses only 0.1 em of spacing, as does {{tl|'s}}, which is used for possessives in italics.
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 this template, {{tl|'}}, uses only 0.1 em of spacing, as does {{tl|'s}}, which is used for possessives in italics.

==TemplateData==
{{TemplateData header}}
<templatedata>
{
"params": {},
"description": "This template creates an apostrophe with a small leading space. This template is intended for use just following bold or italic text. No parameters."
}
</templatedata>

Latest revision as of 11:30, 6 June 2024

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 Template:para 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.