Template talk:Decoration table
From Guild Wars 2 Wiki
Jump to navigationJump to search
I want to read the recipe property 'Requires rating' (when applicable) so I can display this in the same table. The recipe is a subobject of the decoration, and I have no clue how to retrieve the recipe info. Anyone willing to help? Also when the list gets longer than 50 items I get the 'further results' thingy, is it possible to show the whole list as is? MatHack (talk) 23:18, 6 December 2015 (UTC)
- If you want recipe data, you have to shift the focus of your query. To show more than 50, use the "limit" parameter (maximum value 500).
{{#ask:[[Has recipe type::Guild Decoration]][[Has item data object.Has decoration type::{{{1|Furniture}}}]]|?Requires rating|limit=500}}
- —Dr Ishmael 23:47, 6 December 2015 (UTC)
- Thanks for the response, unfortunately not all decorations come from recipes, so that will not work. Something to ponder about. —MatHack (talk) 06:17, 7 December 2015 (UTC)
- You have to do that query for every item in {{decoration table row}} then.--Relyk ~ talk < 07:04, 7 December 2015 (UTC)
- Thanks for the response, unfortunately not all decorations come from recipes, so that will not work. Something to ponder about. —MatHack (talk) 06:17, 7 December 2015 (UTC)
- When you're in there, though, you're only concerned with a single page, so you can do it much more simply.
{{#ask:[[Has item data object::{{{1}}}]]|?Requires rating}}
- Property:Has item data object links a recipe to its output item. —Dr Ishmael 15:48, 7 December 2015 (UTC)