Template:DragonSwitcher
From Dragon Mania Legends (DML) Wiki
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Usage
param 1 determines how many images should be displayed
- 2 = no baby image (Clan dragons)
- 3 = with baby image
param "image" overrides the PAGENAME for the images
Example(s)
{{div|{{DragonSwitcher|3|image=Agave}}|style=width:200px}}
gives:
{{div|{{DragonSwitcher|2|image=Water}}|style=width:200px}}
gives:
See Also
{{toggle}}
, the template used by this one to create the image toggle effect.
Used by the DragonBox templte to create a switchable dragon profile image in the right-side infobox. Examples: {{DragonSwitcher|2|image=Water}} {{DragonSwitcher|3|image=Agave}} {{DragonSwitcher|3|image=Fire}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Images to display, # of | 1 | Determines how many images should be displayed. 2 = no baby image (Clan dragons). 3 = with baby image. | Number | suggested |
Override Image | image | Overrides the PAGENAME for the images | String | suggested |