Template:Str us2sp/doc: Difference between revisions
Jump to navigation
Jump to search
m (name fix) |
m (more Doc) |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ||
===Info=== | ===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 [[template:Str_sp2us|Str_sp2us]] template to easily maintain normal in-string spaces, when needed. | |||
: | ===Usage=== | ||
: | :<code>{{t|Str_us2sp|String}}</code> | ||
===Example=== | |||
:<nowiki>{{Str_us2sp|Some_string_with_underscores}}</nowiki> | |||
:Output: {{Str_us2sp|Some_string_with_underscores}} |
Revision as of 09:28, 3 May 2015
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