Template:Page union query

Given a list of plain text page names, this builds a query that returns all pages in the set.

Parameters
A comma-delimited list of page names. If the names are already in an array, use  to pass them in. The names must be in plain text &mdash;no linking or wiki markup.

If the list is empty, the query string output will find no pages.

Text output
A query string that can be used in an  query to return the entire set of pages.

If no page names are passed in, this gives a fake page name as an output: this way, the ask query will return zero pages instead of giving an error.

Examples
Sample input and output:

You will usually use this when constructing an ask statement from an array. For example:

This array can also come from the results of another search:
 * highest required tech level (rank):
 * highest required tech level (rank):
 * highest required tech level (rank):