Template talk:Query unique items

From Path of Exile Wiki
Jump to: navigation, search

Error

Not sure where i messed up, but when i use this template in Adrenaline (buff), it show not only unique items, bus also gems. Neokowloon (talk) 17:43, 26 March 2020 (UTC)

You have overriden the conditions set by the template by using q_where. Instead of
{{Query unique items
|q_where=items.stat_text LIKE "%Adrenaline%" AND items.stat_text NOT LIKE "%Passive%Skills%"
|large=1
|base_item=1
|level=1
|stat=1
}}
do
{{Query unique items
|where=items.stat_text LIKE "%Adrenaline%" AND items.stat_text NOT LIKE "%Passive%Skills%"
|large=1
|base_item=1
|level=1
|stat=1
}}
--Illviljan (talk) 18:46, 26 March 2020 (UTC)
Yeah, it seem i c&p the code and missing the tiny detail of "where" and "q_where". Neokowloon (talk) 18:48, 26 March 2020 (UTC)