Template talk:Vendor table (Black Lion Weapons)

From Guild Wars 2 Wiki
Jump to navigationJump to search

Template passing on , as an icon[edit]

I'm guessing the template doesn't like the apostrophe in "Abaddon's", as seen on Abaddon Staff. G R E E N E R 08:37, 6 August 2017 (UTC)

Not this time. It was a random SMW error where the property wasn't set by the subobject, in this case fixed by blanking and reverting. It happens more frequently with pages with more subobjects (i.e. in this case vendor templates). I took the query from this template:
{{#ask: [[:+]] [[Sells item::{{#titleparts:{{{1|{{PAGENAME}}}}}}}]]
| ?Has vendor
| ?Has vendor section
| ?Has item cost#
| ?Has item quantity
| ?Is historical
| default = No results for vendor list. If the item is sold at a vendor, it may not have been added to the vendor yet.
}}
and pasted it onto the staff page, and could see that the ticket cost was not being set at all (blank), whereas for the other weapons in this set their price was working okay. -Chieftain AlexUser Chieftain Alex sig.png 10:08, 6 August 2017 (UTC)
I love your debugging methods, Alex. Once again and always, much appreciated. G R E E N E R 17:23, 6 August 2017 (UTC)
Every time something with SMW in a template breaks, the first thing I do is preview the query result without the "template" + "format" parameters. If the result is good, it's a template bug, if the result is bad, it's SMW or not being set properly in another template. :) -Chieftain AlexUser Chieftain Alex sig.png 19:16, 6 August 2017 (UTC)