Template:Holds all of

From Hearthstone Wiki
Jump to: navigation, search

This is a helper template for writing Cargo where statements for templates such as {{Cards}} or {{Custom card table}}, among others. The where 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.


|where={{Holds all of|field|value1,value2,value3}}

See {{Holds any of}} when it's necessary to look for cards that have at least one of the listed values in a given field instead of all the values. See {{Holds}} for looking for a single value. Also note that combining calls of these three templates via "AND", "OR", and parentheses is possible as described in the <code>{{Holds}}</code> documentation.