Template:-?
Template page
More languages
More actions
?
Template:High-use Template:COinS safe
Usage
edit sourceThe {{-?}} 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.