Module:Ustring/doc: Difference between revisions

Content deleted Content added
Document s1, s2, etc, parameters
document that the new "s" args are not really necessary as the same functionality can already be achieved with named numeric parameter usage
Line 15:
|-
| <code>"0123"</code> || {{para|s1|0123}} || If you don't need to preserve whitespace use {{para|s1}} etc.
|-
| <code>"0123"</code> || {{para|1|\0123}} || If you don't need to preserve whitespace explicitly use {{para|1}} etc.
|-
| In another template, to pass its parameter <code>{{{1}}}</code>, preserving whitespace || {{para||\{{{1}}}}} || Must provide the <code>\</code> with unknown string input.
|-
| In another template, to pass its parameter <code>{{{1}}}</code>, stripping whitespace || {{para|s1|{{{1}}}}} ||
|-
| In another template, to pass its parameter <code>{{{1}}}</code>, stripping whitespace || {{para|1|\{{{1}}}}} ||
|}