Template:Str us2sp: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m ("NoneBreakingSpace" to "Normal space")
m (oops, fix)
Line 1: Line 1:
<includeonly>{{#replace:{{{1}}}|_|&#160}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#replace:{{{1}}}|_|&#160;}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 07:00, 3 May 2015

Template documentation (for the template shown above, sometimes hidden or invisible)

Info

General template to change Underscores to Spaces.
Limited to around 600 characters. (might be 1000 Unicode bytes)
Uses "Normal Space" as replacement. (Instead of the "NonebreakingSpace" type.)
Used in conjunction with Str_sp2us template to easily maintain normal in-string spaces, when needed.

Usage

{{Str_us2sp|String}}

Example

{{Str_us2sp|Some_string_with_underscores}}
Output: Some string with underscores

Visit Template:Str us2sp/doc to edit this text! (How does this work?)