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

 Actions

Template

Template:DragonSwitch

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)

Example(s)

  • {{DragonSwitch}} gives:
Switch Arrow Left.png    Dracula Dragon Icon.png  Dracula Dragon
Dragons
Drakkar Dragon  Drakkar Dragon Icon.png    Switch Arrow Right.png
  • {{DragonSwitch|previous=Doomsday Dragon|next=Drakkar Dragon}} gives:
Switch Arrow Left.png  Doomsday Dragon Icon.png    Doomsday Dragon
Dragons
Drakkar Dragon     Drakkar Dragon Icon.png  Switch Arrow Right.png

See Also

  • {{previous}}, the template used inside this one to create automatic navigation.
  • {{next}}, the template used inside this one to create automatic navigation.
  • {{colorCodes}}, the template used inside this one to colorize.

Used by the {{DragonBox}} template to create a right/left navigation at the top of Dragon pages. Uses the {{previous}} and {{next}} template which make use of DPL3.

Template parameters

ParameterDescriptionTypeStatus
Custom Background Colorcustom

Sets/overrides a custom background color (hex code without the # symbol)

Default
{{ColorCodes|{{{type|Rare}}}|dark}}
Stringoptional
Custom Background Color2custom2

Sets/overrides second custom background color (hex code without the # symbol)

Default
{{ColorCodes|{{{base|Divine}}} }}
Stringoptional
Center Column Background/Raritytype

Sets the color (typically fed from DragonBox) of the middle color based on rarity

Default
Rare
Example
Epic
Stringoptional
basebase

Feeds the base element to the "custom2" parameter

Default
Divine
Example
Fire
Stringrequired
Previous Dragonprevious

Feeds the previous dragon name to the icon template and creates the link

Page namerequired
Next Dragonnext

Feeds the next dragon name to the icon template

Page namerequired


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.