Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

Template talk:Quest loot

From DDO wiki
Jump to: navigation, search
Forums: Index > Help desk > Quest loot

New DPL query template[edit]

I'll putting a new template here to format all of the C:quest_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 Discord chat server, 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_type pages? ShoeMaker (Contribs • Message) 10:14, March 31, 2017 (EDT)

Notes from discussion on Discord chat server
  • Current list format:
    • Solarpower 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 (ContribsMessage) 17:14, April 1, 2017 (EDT)

Refactor/Sunset[edit]

We've encountered some pages like The_Collaborator and The Mark of Death that (through the quest template) transclude their corresponding category:<QUEST NAME> 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. Joenuts (ContribsMessage) 16:09, October 10, 2020 (EDT)