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:Quest table footer

From DDO wiki
Jump to navigation Jump to search

Usage[edit]

This template is used to create a table footer for quest tables. It is called from inside quest phantom templates made for Template:DPL category table. This template uses Template:DPL category sum to display the sum in each cell and several templates to gather the values for the sum:

{{Quest table footer
 | heading1=
 | heading2=
 | heading#=
 | category=
 | category2=
 | notcategory=
 | allow gaps=false
}}
  • heading# parameters can use the options listed below. The cells are ordered according the the numbers of the heading parameters.
  • category/category2/notcategory parameters tell the template from which categories to pull the quest pages and sum their favor or xp. They are normally passed from Template:DPL category table to the phantom template and from the phantom template to this template.
  • allow gaps Normally gaps are not allowed meaning that the missing headings will result in empty cells. For example if you only provide |heading1= and |heading3=, then the 2nd cell will be empty. If you set this parameter to true, then gaps between headings will be removed and it will result in no empty cells in the middle (there may be empty cells in the back if your table is bigger than the headings provided).

Options[edit]

|heading##=

  • total
  • questnum
  • favor
  • free
  • epic
  • casualxp
  • normalxp
  • hardxp
  • elitexp
  • ecasualxp
  • enormalxp
  • ehardxp
  • eelitexp
  • casual
  • normal
  • hard
  • elite
  • empty

How it looks[edit]

{{Quest table footer
 | heading1= total
 | heading2= questnum
 | heading3= favor
 | heading4= free
 | heading9= epic
}}

The above code used in a DPL footer would result in this:

Total %PAGES%
Quests
You haven't selected a category
Total favor
You haven't selected a category
Free
You haven't selected a category
Epic

CODE[edit]