Template:Union query

Turns an array into a query result which will find a set (union) of pages. It is usually easier to use one of the more specialized versions of this template:



Parameters

 * Comma-delimited list of page names, category names, or property values. If the values are already in an array, use  to pass them in. The values must be in plain text &mdash;no linking or wiki markup.
 * If the list is empty, it is assumed that the query string should find no pages.
 * If the list is empty, it is assumed that the query string should find no pages.


 * (optional,  by default)
 * : treats the values as names of pages to find
 * : treats the values as names of categories to find
 * : treats the values as property values to match


 * (required if )
 * The name of the property whose values are being searched.

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

If no pagenames 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: