Template:Str us2sp: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (MvGulik moved page Template:Str uc2sp to Template:Str us2sp without leaving a redirect: wrong name)
m ("NoneBreakingSpace" to "Normal space")
Line 1: Line 1:
<includeonly>{{#replace:{{{1}}}|_|&nbsp;}}</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&#160string&#160with&#160underscores

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