Template:Where clause/doc

This template is used by other templates such as Cards and Custom card table, among others, that accept some or all of the same parameters as this template, and which need to build a valid  clause for a   call from those they accept.

Because of numerous workarounds needed at the time of this writing, the where clause built is pretty ugly, which is one of the reasons this template exists.

This is intended primarily for use in query templates and probably has little value in direct use on articles.

Note: All parameters below are optional. If left blank, they will not affect what cards are shown.