Predloga:Single+double
'"
Predloga se uporablja na številnih straneh, zato bo vsaka njena sprememba takoj zelo opazna. Prosimo, da vse spremembe, ki jih želite uvesti, pred uvedbo preizkusite na podstraneh predloge (/peskovnik in /testniprimeri) ali na svojih lastnih podstraneh. Pred spreminjanjem te predloge se o želenih spremembah rajši pogovorite na pogovorni strani. |
Ta predloga se ne sme uporabljati v predlogah za navajanje v slogih, kot sta slog navajanja 1 in slog navajanja 2, ker vključuje označevanje, ki bo kontaminiralo metapodatke COinS, ki jih te ustvarijo. |
Usage
[uredi kodo]The {{' "}}
or {{Single+double}}
template is to be used whenever a single-quotation mark (') would be followed by a double-quotation mark ("), most commonly found in nested quotations (e.g., "I never told the kids, 'Stay outta schoolPredloga:' ", Bob implored.
), or when a double-quoted passage terminates with an apostrophe (e.g., In 1961, the Beach Boys recorded two demo songs, "SurfinPredloga:' " and "Surfin' Safari".
) Its purpose is to place a slight space in between the single and double quotation marks for legibility, without actually inserting a space character. It does this with CSS, and does so because the insertion of an extraneous space character of any kind (e.g.,
or  
) would violate the semantic integrity of web content in an article or another page in which it appears.
- Example (with highlighting added for clarity)
- Using this template:
Smith was reported to have said, "I think the public will not agree with your 'innovative solutionPredloga:Stronggood, in the March 3 debate.
- Smith was reported to have said, "I think the public will not agree with your 'innovative solutionPredloga:' ", in the March 3 debate.
- For comparison, here is the less desirable, completely unspaced version:
Smith was reported to have said, "I think the public will not agree with your 'innovative solution'", in the March 3 debate.
- Smith was reported to have said, "I think the public will not agree with your 'innovative solution'", in the March 3 debate.
- Compare also the version with a semantically incorrect non-breaking space character:
Smith was reported to have said, "I think the public will not agree with your 'innovative solution' ", in the March 3 debate.
- Smith was reported to have said, "I think the public will not agree with your 'innovative solution' ", in the March 3 debate.
- And finally, compare this visually appealing but also semantically incorrect version, using a "thin space" character:
Smith was reported to have said, "I think the public will not agree with your 'innovative solution' ", in the March 3 debate.
- Smith was reported to have said, "I think the public will not agree with your 'innovative solution' ", in the March 3 debate.
As rendered, the non-breaking-spaced and thin-spaced versions may look similar or the same as the templated version, but they improperly mix content and presentation.
To properly achieve similar results within parameters of a template that automatically wraps the value in double-quotes (e.g. |title=
in {{cite web}}), use the {{'-}} or {{Single+space}} template. See also the related templates, {{" '}} and {{'}} for the left-hand side versions (manual and parameter, respectively).
See also
[uredi kodo]- {{'}} (Predloga:Apostrophe) – for use with adjacent italic markup
- {{'s}} – for use immediately following italic markup
- {{`}} – for use not immediately following italic markup
- {{′}} (Predloga:Prime)
- {{''}}
- {{' "}} (Predloga:Single+double)
- {{" '}} (Predloga:Double+single)
- {{' '}} (Predloga:Single+single)
- {{" ' "}} (Predloga:Double+single+double)
- {{' " '}} (Predloga:Single+double+single)
- {{-"}} (Predloga:Space+double)
- {{"-}} (Predloga:Double+space)
- {{-'}} (Predloga:Space+single)
- {{'-}} (Predloga:Single+space)
- {{--)}} (Predloga:Space+parenthesis) (it's
--)
because)
and-)
were already used by other templates) - {{(-}} (Predloga:Parenthesis+space) (using
(--
also works, for consistency with the one above)