Template:ValidateExpansionLogo/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Documentation of the template to return the image of an expansion)
 
(typo)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
;Description
;Description
:This template is used to validate the expansion Code/Name and show the expansions logo. It returns a 64x64px svg, or nothin on an invalid expansion code/name.
:This template is used to validate the expansion Code/Name and show the expansions logo. It returns a 64x64px svg, or nothing on an invalid expansion code/name.
;Syntax
;Syntax
:<nowiki>{{ValidateExpansionCodeLogo|<expansion-code/name>}}</nowiki>
:<nowiki>{{ValidateExpansionCodeLogo|<expansion-code/name>}}</nowiki>
Line 32: Line 32:
|-
|-
|dj33 <br> stewards of the secret            || {{ValidateExpansionLogo|dj33}}
|dj33 <br> stewards of the secret            || {{ValidateExpansionLogo|dj33}}
|-
|dj34 <br> shards of everdark                || {{ValidateExpansionLogo|dj34}}
|-
|-
|dj36 <br> forgotten souls                  || {{ValidateExpansionLogo|dj36}}
|dj36 <br> forgotten souls                  || {{ValidateExpansionLogo|dj36}}
Line 40: Line 42:
|-
|-
|dj40 <br> mists of bilehall                || {{ValidateExpansionLogo|dj40}}
|dj40 <br> mists of bilehall                || {{ValidateExpansionLogo|dj40}}
|-
|dj44 <br> the chains that rust              || {{ValidateExpansionLogo|dj44}}
|-
|-
|Default (empty)                            || {{ValidateExpansionLogo}}
|Default (empty)                            || {{ValidateExpansionLogo}}
|}
|}

Latest revision as of 20:34, 26 October 2018

Description
This template is used to validate the expansion Code/Name and show the expansions logo. It returns a 64x64px svg, or nothing on an invalid expansion code/name.
Syntax
{{ValidateExpansionCodeLogo|<expansion-code/name>}}
Input Returns
dj3
dj03
lair of the wyrm
DJ01 - Lair of the Wyrm
dj4
dj04
labyrinth of ruin
DJ04 - Labyrinth of Ruin
dj5
dj05
the trollfens
DJ05 - The Trollfens
dj7
dj07
shadow of nerekhall
DJ07 - Shadow of Nerekhall
dj21
manor of ravens
DJ21 - Manor of Ravens
dj26
oath of the outcast
DJ26 - Oath of the Outcast
dj27
crown of destiny
DJ27 - Crown of Destiny
dj28
crusade of the forgotten
DJ28 - Crusade of the Forgotten
dj29
guardians of deephall
DJ29 - Guardians of Deephall
dj30
visions of dawn
DJ30 - Visions of Dawn
dj31
bonds of the wild
DJ31 - Bonds of the Wild
dj32
treaty of champions
DJ32 - Treaty of Champions
dj33
stewards of the secret
DJ33 - Stewards of the Secret
dj34
shards of everdark
DJ34 - Shards of Everdark
dj36
forgotten souls
DJ36 - Forgotten Souls
dj37
nature's ire
DJ37 - Nature's Ire
dj38
dark elements
DJ38 - Dark Elements
dj40
mists of bilehall
DJ40 - Mists of Bilehall
dj44
the chains that rust
DJ44 - The Chains that Rust
Default (empty)