Template:Quest table footer

Usage
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:
 * Max quest favor for total favor
 * Free extractor, VIP extractor, Expansion extractor for free/vip/xpack counts
 * IO to translate yes/no values to 1/0
 * Casualxp extractor, Normalxp extractor, Hardxp extractor, Elitexp extractor, ECasualxp extractor, ENormalxp extractor, EHardxp extractor, EElitexp extractor for xp values.
 * 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
heading##
 * total
 * questnum
 * favor
 * free
 * epic
 * casualxp
 * normalxp
 * hardxp
 * elitexp
 * ecasualxp
 * enormalxp
 * ehardxp
 * eelitexp
 * casual
 * normal
 * hard
 * elite
 * empty

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

CODE

 * - class="sortbottom" ¶
 * }