ഫലകം:StripWhitespace/doc

വിക്കിഗ്രന്ഥശാല സംരംഭത്തിൽ നിന്ന്

This is simple little template, for use in other templates to strip any trailing and/or leading whitespace from un-named parameters.

In MediaWiki templates, trailing and/or leading whitespace is automatically removed from named parameters, but not from un-named parameters. (This is apparently some ancient design mistake with which we are now stuck for evermore, in the name of backward-compatibility)

Usage[തിരുത്തുക]

The template takes either a parameter, "x", or one unnamed parameter. The value should be numbered parameter from which the whitespace is to be removed

e.g. {{StripWhitespace | x = {{{1|}}} }}

or e.g. {{StripWhitespace | {{{4|}}} }}

See also[തിരുത്തുക]

"https://ml.wikisource.org/w/index.php?title=ഫലകം:StripWhitespace/doc&oldid=78294" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്