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

 Actions

Template

Template:ForEachDragon

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)

An example of usage is on Bottomless Dungeon event pages, |icons= values generating the result displayed beside the "Special Dungeon" label in the side infobox.

The following Dragon Icon (files):
Fire Dragon.png, Wind Dragon.png, Water Dragon.png

Can be specified as:

|icons=Fire, Wind, Water

Which gives:

Fire Dragon Fire Dragon Icon.png
Wind Dragon Wind Dragon Icon.png
Water Dragon Water Dragon Icon.png

Other Example(s)

This template can also be used (and is used in other templates) like:

See Also

  • {{ForEach}}, splits a comma-separated input list into parts and applies the template name provided, to each part.
  • {{ForEachIcon}}, accepts a comma separated list of icon names and turns them into icons using {{i}}.
  • {{ForEachNoTemplate}}, splits a comma-separated list into parts and applies plain-text content before and after each item, if specified.

Splits a comma-separated list into parts and creates a list of dragons (link then icon) for use in EventBox and other templates. Works for up to 10 comma separated icon names.

Template parameters

ParameterDescriptionTypeStatus
Dragon names (comma separated, no "Dragon" or "Dragon Icon.png")1

no description

Example
Fire, Wind
Stringrequired
(Override) icon sizesize

no description

Default
22
Example
30
Numberoptional


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.