Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
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!
User:Faltout/SandBox/Quest table footing
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.
{{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 |