Template:Items by bits: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (alphabetize)
(re-include grenades in bit tables)
 
(2 intermediate revisions by 2 users not shown)
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" OR UnidentifiedAltNameStripped = 'grenade')
| 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" OR UnidentifiedAltNameStripped = 'grenade')
| order by = ItemsTable.Bits, _pageName
| order by = Bits, _pageName
| offset = 20
| offset = 20
| limit = 20
| limit = 20
|
| default =
}}
}}
</div><noinclude>[[Category:Templates]]</noinclude>
</div><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 19:56, 16 December 2021