Template:Property union query

Given a property name and a list of property values, this builds a query that returns all pages in the set. Note that the values should be in plain text (no linking or markup) even if the values are page names.

Parameters

 * The name of the property to search on.
 * The name of the property to search on.


 * A comma-delimited list of property values. 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, 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.

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

If no values are passed in, this gives a query with a fake property value 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:


 * Items disassembled with hammers: