Template:Create parameter string/doc

This template takes the positional parameters inputted, strips beginning and ending blanks and newlines, and creates a parameter string from the parameters using |.

This eliminates the need to have some kind of stripping template for every positional parameter - which makes the template easier to read and maintain. It also allows the positional parameters to be entered, one per line, which if you have a lot of positional parameters, makes the template easier to read and update than one long line of parameters stringed together.

The parameter string returned can be used as positional parameter input.

This template was initially created for use by the search prefixes template.

Usage
returns the string:
 * aaa|bbbb|cc

Limits
limited to 30 parameters or less