Template:Food that grants

From Caves of Qud Wiki
Revision as of 16:08, 8 November 2019 by Teamtoto (talk | contribs) (Created page with "<includeonly><ul><li>{{#invoke:CargoQuery|main |q?tables=Food, GeneralData |q?join=Food._pageName=GeneralData._pageName |q?fields=PlainName=Page |q?where=CookEffect LIKE '%{{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template that returns a bulleted list of all food items that grant the specified cooking effect provided in the first argument. This uses LIKE, so as long as the first argument contains the word, it will return.

Example:

{{Food that grants|Heat}}

Output:

  • Lua error: Error: operator for the virtual field 'Food.CookEffect' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'..