Template talk:Quest loot

New DPL query template
I'll putting a new template here to format all of the C: _loot and reward categories with a dynamic DPL query template so they'll be easier to populate and contain dynamicly correct information. My question, as asked on our, is what should the output look like? The current bullet list format used on most of the currently populated pages or the sortable table format used on current C:Named_ pages? ShoeMaker (Contribs&thinsp;•&thinsp;Message&thinsp;•&thinsp;Email ) 10:14, March 31, 2017 (EDT)
 * Notes from discussion on :
 * Current list format:
 * indicated they like the compact look better on quest pages.
 * Sortable table format:
 * If possible, initially sorted by ML
 * Color code heroic/epic/legendary
 * What color scheme?
 * Desired format for goal of keeping all item category pages consistent in appearance
 * Try to keep rows as compact as reasonably possible
 * Possible separate tables for heroic/epic?
 * Possible section up top to filter/customize result appearance?

I vote for current concise list. As a side note, Head items is not displaying correctly.-- Cru121 (Contribs • Message • Email ) 17:14, April 1, 2017 (EDT)

Refactor/Sunset
We've encountered some pages like The_Collaborator and The Mark of Death that (through the quest template) transclude their corresponding category: loot page, which, when calling this template without a category value cause the page to hang. This is likely due to the Named Item Category template being called with a PAGENAME of the quest name which causes an infinite loop of the template parsing the page which parses the template, etc.

It seems like the intent of this template was to provide a default value for the category parameter to the Named items category template. Given that using the PAGENAME value only works properly when the template is called directly from the loot page, and breaks when the the loot page is loaded indirectly, I don't think we can use PAGENAME as a default value.

I've researched to find out if there were some other magic word that could be used not to represent the page being viewed (quest page), but the page calling the template (category page), but am unable to identify a usable variable.

Given that the only purpose for this template is to provide a default value to named items category template, and that functionality does not work (can can not work) as desired, my suggestion here is to refactor pages that reference this template to reference the Named items category template directly with a statically defined category value. This template can be marked as experimental until a valid method exists to supply a default value (must work for quest pages as well as category pages, and quest pages loading other quest pages), or be deprecated. &rArr; Joenuts (Contribs • Message • Email ) 16:09, October 10, 2020 (EDT)