Jump to content

සැකිල්ල:Single space/doc

විකිපීඩියා වෙතින්

This template, {{'-}} or Template:Single space, uses the decimal code for the apostrophe or single-quote character so that it doesn't become interpreted with adjacent italics ('') or bold (''') wiki markup, or visually confused with other quotation marks.

This template leaves trailing space after the single quotation mark/apostrophe, unlike the similar {{`}} (no spacing), {{-'}} (leading space before the single quote) and {{'}} (smaller leading space before the apostrophe). It does not insert any semantically-invalid space characters, but does all the spacing visually-only, in CSS.

This template is intended for use with double-quote-providing templates when the content quoted ends on the right-hand side with an apostrophe/single quote, whereas {{-'}} is for the left-hand side, {{'}} is intended for use with italic text, and {{`}} is for non-italic text.

Typical use in a citation template:

|title=Critical Review of 'My Two Front Teeth{{'-}}

results in:

"Critical Review of 'My Two Front Teethසැකිල්ල:'-"

compared to:

"Critical Review of 'My Two Front Teeth'"

produced by:

|title=Critical Review of 'My Two Front Teeth'

Note the slight visual spacing difference between these two:

The equivalent template when manually placing double quotes around a single-quoted passage is {{' "}}; see also {{-'}} and {{" '}} for the left-hand side equivalents (parameter and manual, respectively).

Quotation mark and apostrophe templates

"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Single_space/doc&oldid=111947" වෙතින් සම්ප්‍රවේශනය කෙරිණි