Template:Creatures with the item: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(Try to fix defaulting template)
Line 1: Line 1:
<includeonly><ul><li>{{#invoke:CargoQuery|main
<includeonly>
|q?tables=GeneralData,Inventory
<ul>
|q?join=GeneralData._pageID=Inventory._pageID
<li>
|q?fields=GeneralData.PlainName=Page
{{#cargo_query
|q?where= BINARY Inventory.Item='{{#replace:{{{1|{{PAGENAME}}}}}|'|''}}'
:tables = GeneralData,Inventory
|template=favilink
|join = GeneralData._pageID = Inventory._pageID
|default={{{1}}}
|fields = GeneralData.PlainName = Page
|delimiter=<li>}}</ul></includeonly><noinclude>[[Category:Query Templates]]</noinclude>
|where = BINARY Inventory.Item = '{{PAGENAME}}'
|template = favilink
|default={{{1}}}
|delimiter=<li>
}}
</li>
</ul>
</includeonly>
<noinclude>[[Category:Query Templates]]</noinclude>

Revision as of 13:11, 11 August 2021