Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Template

Template:DragonSwitcher/doc

From Dragon Mania Legends (DML) Wiki

< Template:DragonSwitcher
Documentation subpage
View this documentation's related template:
Template:DragonSwitcher

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:
Agave Dragon.png
Agave Dragon.png
Adult
Agave Dragon Baby.png
Baby
Agave Dragon Egg.png
Egg
  • {{div|{{DragonSwitcher|2|image=Water}}|style=width:200px}} gives:
Water Dragon.png
Water Dragon.png
Adult
Water Dragon Egg.png
Egg

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}}

Template parameters

ParameterDescriptionTypeStatus
Images to display, # of1

Determines how many images should be displayed. 2 = no baby image (Clan dragons). 3 = with baby image.

Numbersuggested
Override Imageimage

Overrides the PAGENAME for the images

Stringsuggested
This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.