8,756
edits
(update doc, and also this doesnt use LIKE anymore) |
(compound query with liquids) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{2|list}}}| list | <ul><li> }}{{# | <includeonly>{{#ifeq: {{{2|list}}}| list | <ul><li> }}<!-- | ||
-->{{#cargo_compound_query:tables=Food=F | |||
;fields=F._pageName=Page | |||
|fields= | ;where=F.CookEffect HOLDS '{{{1|}}}' AND F._pageNamespace = '0' | ||
;default=No Results! | |||
|template=favilink | |tables=Liquids=L | ||
|delimiter={{#switch: {{{2|list}}} |list=<li> |linebreaks=<br> |,<nowiki> </nowiki> }} | ;fields=L._pageName=Page | ||
;where=L.CookEffect HOLDS '{{{1|}}}' AND L._pageNamespace = '0' | |||
;default=No Results! | |||
|format=template | |||
|template=favilink page | |||
|delimiter = {{#switch: {{{2|list}}} |list=<li> |linebreaks=<br> |,<nowiki> </nowiki> }} | |||
}} | }} | ||
{{#ifeq: {{{2|list}}} | list | </ul> }}</includeonly><noinclude>[[Category:Query Templates]] | {{#ifeq: {{{2|list}}} | list | </ul> }}</includeonly><noinclude>[[Category:Query Templates]] |