Difference between revisions of "Template:'/doc"
blackwiki>Kendall-K1 m (Undid revision 708011055 by 76.168.162.154 (talk)) |
m (68 revisions imported) |
||
| (15 intermediate revisions by 12 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{Cascade-protected template}} | ||
| + | {{COinS safe|n}} | ||
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> | <!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> | ||
| − | This template leaves leading space before the apostrophe. This template is | + | This template leaves leading space before the apostrophe, unlike the similar {{tl|`}} (no spacing). This template is intended for use with ''[[Italic type|italic]]'' text, whereas {{tl|`}} is intended for use with non-italic text. For example: |
| − | |||
| − | |||
| − | |||
| − | |||
* <code><nowiki>The ''Iliad''{{'}}s vocabulary is archaic.</nowiki></code> | * <code><nowiki>The ''Iliad''{{'}}s vocabulary is archaic.</nowiki></code> | ||
generates: | generates: | ||
* The ''Iliad''{{'}}s vocabulary is archaic. | * 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 {{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 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. |
| − | + | ==See also== | |
| − | {{Quotation mark templates}}<includeonly>{{ | + | {{Quotation mark templates}}<includeonly>{{Sandbox other| |
| <!----PLEASE ADD CATEGORIES BELOW THIS LINE:----> | | <!----PLEASE ADD CATEGORIES BELOW THIS LINE:----> | ||
| − | [[Category: | + | [[Category:Quotation mark templates]] |
| − | + | }}</includeonly> | |
| − | } | + | |
| + | ==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 08:58, 30 September 2020
| This is a documentation subpage for Template:'. It contains usage information, categories and other content that is not part of the original template page. |
|
| This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
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
- {{'}} (Template:Apostrophe)
- {{'s}}
- {{′}} (Template:Prime)
- {{''}}
- {{' "}} (Template:Single+double)
- {{" '}} (Template:Double+single)
- {{' '}} (Template:Single+single)
- {{" ' "}} (Template:Double+single+double)
- {{' " '}} (Template:Single+double+single)
- {{-"}} (Template:Space+double)
- {{"-}} (Template:Double+space)
- {{-'}} (Template:Space+single)
- {{'-}} (Template:Single+space)
- {{--)}} (Template:Space+parenthesis) (it's
--)because)and-)were already used by other templates) - {{(-}} (Template:Parenthesis+space) (using
(--also works, for consistency with the one above)
TemplateData
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.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||