Template:Expansion

This is called by other templates to handle the logic of the expansion name or patch number.

Usage:


 * expansion
 * Can be the full name of an expansion, or a standard abbreviation. Default is Rise of the Demon Lord (aka Chapter I)
 * X=nothing. Suppress all Expansion output.
 * Patch=display the contents of patch only.
 * TEP=The Elven Prophecy
 * TEK=The Elder Kingdoms
 * LoD=Lands of Despair
 * FoS=Fires of Shadowforge
 * LoS=Legacy of the Soulless
 * any or all other non-matches=Rise of the Demon Lord


 * patch
 * After Chapter V they stopped using chapters so for newer stuff we have to go by the patch number it was released with. patch is not checked for validity, we just use it as it is given. JUST ANNOUNCED! Chapter VII:Legacy of the Soulless is coming!
 * Looks like they are going to consider all of the 6.x patches as Chapter VI.


 * pagetype
 * One of Quest, POI or Zone


 * exptag
 * If NOT blank, we need to transclude the expansion tag instead of adding this page to categories!