Template:ValidateExpansionCode: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(abbreviations)
(Add support for expansion Lost Legends)
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
|dj03
|dj03
|lair
|lair
|wyrm
|lair of the wyrm = DJ03
|lair of the wyrm = DJ03
|dj4
|dj4
Line 63: Line 64:
|dj21
|dj21
|manor
|manor
|ravens
|manor of ravens = DJ21
|manor of ravens = DJ21
|dj22
|dj22
Line 78: Line 80:
|gargan mirklace lieutenant pack = DJ25
|gargan mirklace lieutenant pack = DJ25
|dj26
|dj26
|oath
|outcast
|oath of the outcast = DJ26
|oath of the outcast = DJ26
|dj27
|dj27
|crown of Destiny = DJ27
|crown
|destiny
|crown of destiny = DJ27
|dj28
|dj28
|crusade
|crusade of the forgotten = DJ28
|crusade of the forgotten = DJ28
|dj29
|dj29
|guardians of Deephall = DJ29
|guardians
|deephall
|guardians of deephall = DJ29
|dj30
|dj30
|visions of Dawn = DJ30
|visions
|dawn
|visions of dawn = DJ30
|dj31
|dj31
|bonds
|wild
|bonds of the wild = DJ31
|bonds of the wild = DJ31
|dj32
|dj32
|treaty
|champions
|treaty of champions = DJ32
|treaty of champions = DJ32
|dj33
|dj33
|stewards
|secret
|stewards of the secret = DJ33
|stewards of the secret = DJ33
|dj34
|dj34
|shards
|everydark
|shards of everdark = DJ34
|shards of everdark = DJ34
|dj35
|dj35
Line 99: Line 118:
|skarn lieutenant pack = DJ35
|skarn lieutenant pack = DJ35
|dj36
|dj36
|souls
|forgotten souls = DJ36
|forgotten souls = DJ36
|dj37
|dj37
|nature's Ire = DJ37
|nature
|nature's ire = DJ37
|dj38
|dj38
|Dark elements = DJ38
|elements
|dark elements = DJ38
|dj39
|dj39
|heirs
|blood
|heirs of blood = DJ39
|heirs of blood = DJ39
|dj40
|dj40
|mists
|bilehall
|bilehall
|mists of bilehall = DJ40
|mists of bilehall = DJ40
Line 118: Line 143:
|ardus ix'erebus
|ardus ix'erebus
|ardus ix'erebus lieutenant pack = DJ43
|ardus ix'erebus lieutenant pack = DJ43
|dj44
|chains
|rust
|the chains that rust = DJ44
|dj45
|legends
|lost legends = DJ45
|#default=
|#default=
}}</onlyinclude><noinclude>{{documentation}}</noinclude>
}}</onlyinclude><noinclude>{{documentation}}</noinclude>

Latest revision as of 10:27, 20 February 2019

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to validate the expansion Code. It returns a consistent capitalised version, or an empty string on an invalid expansion code.
Syntax
{{ValidateExpansionCode|<expansion-code>}}
Input Returns
dj1
dj01
base game
base
DJ01
dj2
dj02
conversion kit
conversion
DJ02
dj3
dj03
lair of the wyrm
lair
wyrm
DJ03
dj4
dj04
labyrinth of ruin
labyrinth
DJ04
dj5
dj05
the trollfens
trollfens
DJ05
dj7
dj07
shadow of nerekhall
nerekhall
DJ07
dj9
dj09
splig lieutenant pack
splig
DJ09
dj10
belthir lieutenant pack
belthir
DJ10
dj11
zachareth lieutenant pack
zachareth
DJ11
dj12
alric farrow lieutenant pack
alric
DJ12
dj13
merick farrow lieutenant pack
merick
DJ13
dj14
eliza farrow lieutenant pack
eliza
DJ14
dj15
valyndra lieutenant pack
valyndra
DJ15
dj16
raythen lieutenant pack
raithen
DJ16
dj17
serena lieutenant pack
serena
DJ17
dj18
ariad lieutenant pack
ariad
DJ18
dj19
queen ariad lieutenant pack
queen ariad
DJ19
dj20
bol'goreth lieutenant pack
bol'goreth
DJ20
dj21
manor of ravens
manor
DJ21
dj22
rylan olliven lieutenant pack
rylan
DJ22
dj23
verminous lieutenant pack
verminous
DJ23
dj24
tristayne olliven lieutenant pack
tristayne
DJ24
dj25
gargan mirklace lieutenant pack
gargan
mirklace
DJ25
dj26
oath of the outcast
DJ26
dj27
crown of destiny
DJ27
dj28
crusade of the forgotten
DJ28
dj29
guardians of deephall
DJ29
dj30
visions of dawn
DJ30
dj31
bonds of the wild
DJ31
dj32
treaty of champions
DJ32
dj33
stewards of the secret
DJ33
dj34
shards of everdark
DJ34
dj35
skarn lieutenant pack
skarn
DJ35
dj36
forgotten souls
DJ36
dj37
nature's ire
DJ37
dj38
dark elements
DJ38
dj39
heirs of blood
DJ39
dj40
mists of bilehall
bilehall
DJ40
dj41
kyndrithul lieutenant pack
kyndrithul
DJ31
dj42
zarihell lieutenant pack
zarihell
DJ42
dj43
ardus ix'erebus lieutenant pack
ardus ix'erebus
DJ43
dj44
chains
the chains that rust
DJ44
dj45
legends
lost legends
DJ45
Default (empty)