Template talk:Equipment query

From Guild Wars 2 Wiki
Jump to navigationJump to search
{{Equipment query|rarity=Exotic|supertype=Trinket}}

works fine, but the same thing on the query form turns up Expression error: Unrecognised word "span". Ideas? (2:30AM, cba error fixing.. ) -Chieftain AlexUser Chieftain Alex sig.png 01:29, 21 June 2014 (UTC)

Didn't solve it, but did gather some data: it does that for Trinket and Weapon, but not for Armor or Back item. —Dr Ishmael User Dr ishmael Diablo the chicken.png 02:05, 21 June 2014 (UTC)
solved it by realising it was to do with an empty query "Has weapon type::". Found another issue, its ignoring the "type" for trinkets and weapons completely. >.< -Chieftain AlexUser Chieftain Alex sig.png 10:08, 21 June 2014 (UTC)
didn't name fields correctly -_-. -Chieftain AlexUser Chieftain Alex sig.png 10:27, 21 June 2014 (UTC)
span error again, this time: Armor Light Chestwear [box-ticked]. Unticking the box seems to fix it. Seems to be for armor only? -Chieftain AlexUser Chieftain Alex sig.png 23:54, 1 August 2014 (UTC)
me again; mw light armor coat, no box but error. 86.158.122.183 15:31, 2 August 2014 (UTC)
I'd left a total of three queries based on level req active, only needed 2 of them for the form. I was hitting the query depth restriction, generating the SMW warning triangle, thus generating the span error message when trying to carry out a calculation on it. -Chieftain AlexUser Chieftain Alex sig.png 21:49, 3 August 2014 (UTC)

Equipment Search Tool Issues[edit]

It seems that there might be items missing in the tool (or I don't understand how it works) - Exotic Ring for Giver's comes up empty, although Snowflake Orichalcum Ring exists, for example. There's also a few extra "Giver's" - giver1w, giver1a and similar. Not sure if there's a way for me to fix this, so I'm leaving this comment here. Lacrisma.1540 (talk) 19:39, 9 March 2020 (UTC)

Sticking "Exotic" "Trinket" and "Ring" in the tool, then sorting by the prefix column yields the results sorted by prefix.
The item you're talking about is in there, but the prefix has been set (per Special:Browse/Orichalcum_Ring#itemct21) as Has equipment prefix=Snowflake3.
If you take a look at the usage section of Template:Prefix attributes you'll see those different giver1w/giver1a/giver2w/giver2a/giver3w/giver3a are all different prefixes ingame (apart from giver3w/giver3a which got fixed).
Examining the source of Template:Prefix attributes suggests to me that at some point snowflake3 had different stats to giver3a / giver3w and we made them aliases... ref. I think we could rename any occurrences of "snowflake3" in craft templates to "giver" without any issues. -Chieftain AlexUser Chieftain Alex sig.png 23:46, 9 March 2020 (UTC)
Edit, I've tweaked Craft table row so that the level 80 items will show as prefix="giver". -Chieftain AlexUser Chieftain Alex sig.png 23:51, 9 March 2020 (UTC)

Template timeout[edit]

There are a few parameter selections that cause a timeout, e.g. {{Equipment query|prefix=apothecary|offset=250}}. I managed to bypass the timeout with this edit (that's a close one, there might be other options that still cause a timeout). Further simplifications are recommended, but I can't see exactly where the expensiveness comes from. However, the easiest solution to fix any timeout would be to turn the limit to 200 (which might be a little bit few). --Tolkyria (talk) 23:56, 15 May 2020 (UTC)