?
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Usage
The {{-?}} template creates a spaced question mark so as to avoid text collisions between italicized content and a non-italicized question mark. This situation may most frequently be encountered in DYK.
- Example (with highlighting added for clarity)
- Using the template:
... that '''[[Sergei Prokofiev]]''' wrote ''[[Peter and the Wolf]]''{{-?}}
- ... that Sergei Prokofiev wrote Peter and the Wolf?
- For comparison, here is the completely unspaced version:
... that '''[[Sergei Prokofiev]]''' wrote ''[[Peter and the Wolf]]''?
- ... that Sergei Prokofiev wrote Peter and the Wolf?
- And here is the version with a semantically incorrect non-breaking space character:
... that '''[[Sergei Prokofiev]]''' wrote ''[[Peter and the Wolf]]'' ?
- ... that Sergei Prokofiev wrote Peter and the Wolf ?
- When rendered, the non-breaking-spaced version adds too much space, and improperly mixes content and presentation.
See also
- {{'}} (Template:Apostrophe) – for use with adjacent italic markup
- {{`}} – for use with adjacent bold markup
- {{'s}} – for inserting an apostrophe and "s" immediately following italic markup
- {{`s}} – for inserting an apostrophe and "s" immediately following bold markup
- {{′}} (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)