ഫലകം:-?/doc

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
Jump to navigation Jump to search

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 looks similar to the template version, but improperly mixes content and presentation.

See also[തിരുത്തുക]

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:-%3F/doc&oldid=3576595" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്