Template talk:Query unique items

From Path of Exile Wiki
Jump to navigation Jump to search

This talk page is for discussing Template:Query unique items.

  • Sign your posts using four tildes (~~~~)
  • Start a new topic at the bottom under a ==level 2 heading==
  • Indent replies using colons (:)
  • Keep it civil
  • Assume good faith
  • Don't remove past discussions

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)