Template:Creatures with the item: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (would this have worked)
(refactor)
Line 1: Line 1:
<ul>
{{#invoke:cargoQuery|main
<li>
|tables = GeneralData=GD,Inventory=I
{{#cargo_query:
|join on = GD.JoinKey= I.JoinKey
tables = GeneralData,Inventory
|fields = {{favilink format args}}
|join on = GeneralData._pageID = Inventory._pageID
|where = I.Item = '{{{1|{{PAGENAME}}}}}'
|fields = GeneralData.PlainName = Page
|format = ul
|where = BINARY Inventory.Item = '{{PAGENAME}}'
|template = favilink format
|format = template
|template = favilink
|default = {{{1}}}
|default = {{{1}}}
|delimiter = <li>
}}<noinclude>[[Category:Query Templates]]</noinclude>
}}
</li>
</ul>
<noinclude>[[Category:Query Templates]]</noinclude>

Revision as of 13:38, 13 August 2021

{{{1}}}