Template:Creatures with the item: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Try to fix defaulting template)
mNo edit summary
Line 4: Line 4:
{{#cargo_query
{{#cargo_query
:tables = GeneralData,Inventory
:tables = GeneralData,Inventory
|join = GeneralData._pageID = Inventory._pageID
|join = GeneralData.JoinKey = Inventory.JoinKey
|fields = GeneralData.PlainName = Page
|fields = GeneralData.PlainName = Page
|where = BINARY Inventory.Item = '{{PAGENAME}}'
|where = BINARY Inventory.Item = '{{#replace:{{{1|{{PAGENAME}}}}}|'|''}}'
|template = favilink
|template = favilink
|default={{{1}}}
|default={{{1}}}

Revision as of 13:14, 11 August 2021