• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Plain space

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

Usage

{{Plain space|string}}
{{Plain space|1=string}}

Replaces a variety of whitespace characters and HTML entities representing whitespace characters in string with plain ordinary spaces. This template is designed to be used in template construction to sanitize inputs to other templates or parser functions such as {{#time}}.

This template recognizes the following:

  •  
  •  
  •  
  •  
  •  
  •  
  • All ASCII space characters recognized by the Scribunto %s character class

Templates such as {{Space}} or {{Sp}} will not be replaced by this template.

Note: this template uses the ¬ character as an internal marker. Any instances of ¬ in string will be removed by this template.

See also

  • {{space}}
  • {{Sp}}
  • v
  • t
  • e
Inline spacing templates
Non-breaking space characters
  • {{figure space}}
  • {{hair space}}
  • {{narrow no-break space}}
  • {{nb5}}
  • {{ns}}
  • {{quad}}
  • {{spaces}}
  • {{thin space}}
  • {{word joiner}}
  • {{zero width joiner}}
Breaking space characters
  • {{sp}}
  • {{zero width space}}
Non-character spaces
  • {{gaps}}
  • {{in5}}
  • {{indent}}
  • {{pad}}
  • {{px2}}
  • {{vpad}}
The above documentation is transcluded from Template:Plain space/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Plain_space&oldid=26965"
Last edited on 9 October 2017, at 12:20

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 9 October 2017, at 12:20.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop