Template:Plain space/doc
< Template:Plain space
Revision as of 14:28, 24 April 2017 by Wikipedia>Ahecht (→Usage: Those templates aren't subst:able)
| This is a documentation subpage for Template:Plain space. It contains usage information, categories and other content that is not part of the original template page. |
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.