Template:Items by bits: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(Update to use new Cargo table)
Line 1: Line 1:
<div style="display:inline-table; vertical-align:top;">
<div style="display:inline-table; vertical-align:top;">
{{#cargo_query:tables = ItemsTable
{{#cargo_query:tables = ArtifactData
| fields = CONCAT("{{favilink id{{!}}", ObjectID, "}}")=Item, CONCAT("{{Bits{{!}}", Bits, "}}")= Bits
| fields = CONCAT("{{favilink id{{!}}", ObjectID, "}}")=Item, CONCAT("{{Bits{{!}}", Bits, "}}")= Bits
| where = Bits LIKE "%{{{1|0}}}%" AND _pageNamespace="0"
| where = Bits LIKE "%{{{1|0}}}%" AND _pageNamespace="0"
| order by = ItemsTable.Bits, _pageName
| order by = Bits, _pageName
| limit = 20
| limit = 20
| more results text =
| more results text =
}}
}}
</div><div style="display:inline-table; vertical-align:top;">
</div><div style="display:inline-table; vertical-align:top;">
{{#cargo_query:tables = ItemsTable
{{#cargo_query:tables = ArtifactData
| fields = CONCAT("{{favilink id{{!}}", ObjectID, "}}")=Item, CONCAT("{{Bits{{!}}", Bits, "}}")= Bits
| fields = CONCAT("{{favilink id{{!}}", ObjectID, "}}")=Item, CONCAT("{{Bits{{!}}", Bits, "}}")= Bits
| where = Bits LIKE "%{{{1|0}}}%" AND _pageNamespace="0"
| where = Bits LIKE "%{{{1|0}}}%" AND _pageNamespace="0"
| order by = ItemsTable.Bits, _pageName
| order by = Bits, _pageName
| offset = 20
| offset = 20
| limit = 20
| limit = 20

Revision as of 16:33, 7 October 2021