Template:-?
Jump to navigation
Jump to search
?
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 COinS in Starfleet Logistics. |
Usage[edit source]
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 looks similar to the template version, but improperly mixes content and presentation.
See also[edit source]
- {{'}} (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)
External links[edit source]
- Template:-? at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:-?/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |