Template:Holds/doc

This is a helper template for writing Cargo  statements for templates such as Cards or Custom card table, among others. The  statements are a more powerful alternative for choosing what cards to display as compared to the other parameters of these templates. Unfortunately, the current state of the Cargo extension as of this writing requires some ugly workarounds be used. This template is intended to provide a more user-friendly way to construct the complex, workaround-laden wikitext.

Usage (when you need to check for a single value in a field): |where=

Though the real power is in the ability to string these together with combinations of "AND", "OR", and parentheses, such as: |where=( OR  ) AND

Typical, the other parameters of the templates providing a  automatically place "AND" between each specified field. This provides more options.

Technically, this can also be used to query for multiple values in a field, using "AND" and "OR" as the third parameter, but using Holds any of and Holds all of are recommended instead for being a little more readable.