模板:Apostrophe/doc

来自决策链云智库
< 模板:Apostrophe
Zeroclanzhang讨论 | 贡献2024年1月16日 (二) 23:02的版本 (创建页面,内容为“{{Documentation subpage}} {{High-use}} {{COinS safe|n}} {{tsh|'}} <!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> This template leaves leading space before the apostrophe, unlike the similar {{tl|`}} (no spacing). This template is intended for use with ''italic'' text, whereas {{tl|`}} is intended for use with non-italic text. For example: * <code><nowiki>The ''Iliad''{{'}}s vocabulary is archaic.</nowiki></code> gen…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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, {{模板:Apostrophe}}, uses only 0.1 em of spacing, as does {{'s}}, which is used for possessives in italics.

See also

模板:Quotation mark templates

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Apostrophe in articles based on its TemplateData.

TemplateData for Apostrophe

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

模板参数

参数描述类型状态
未指定参数