Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes. edit

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:Favor rewards phantom

From DDO wiki
Jump to navigation Jump to search

Usage[edit]

This template is a phantom template used in DPL calls. This particular template is made for the Favor page so it will automatically show all the patron factions, their rewards and their max favor.

This template uses the parameters from {{Patron}}. To calculate max favor, it uses {{DPL category sum}} with {{Max quest favor}} for quests and {{Max challenge favor}} for challenges.

{{#dpl:
 | category = Patron factions
 | uses = Template:Patron
 | include = {Patron¦Favor rewards phantom}
 | mode = userformat
}}

This template generates level 3 headers with the patron's name linked. After the above DPL call, a number of variables will be left behind for further usage:

{{#dplvar: total favor}}
{{#dplvar: total free favor}}
{{#dplvar: <patron name> favor}}
{{#dplvar: <patron name> free favor}}

CODE[edit]