Template:ForEachIcon/doc
From Dragon Mania Legends (DML) Wiki
< Template:ForEachIconDocumentation subpage |
---|
View this documentation's related template: Template:ForEachIcon |
Example(s)
The following icon (files):
Gems Icon.png, Gold Icon.png, Divine (Element) Icon.png
Can be specified as:
|icons=Gems, Gold, Divine (Element)
Other Examples
This template can also be used (and is used in other templates) like:
{{forEachIcon|Ancient Ticket (Fire), Ancient (Element)}}
gives{{forEachIcon|size=26|Gems, Gold, Divine (Element)}}
(has spaces, still works) gives{{forEachIcon|size=26|Gems,Gold,Divine (Element)}}
(no spaces, still works) gives{{forEachIcon| ,,,Divine (Element)}}
(too many commas, still works) gives
See Also
{{ForEach}}
, splits a comma-separated input list into parts and applies the template name provided, to each part.{{ForEachNoTemplate}}
, splits a comma-separated list into parts and applies plain-text content before and after each item, if specified.{{ForEachDragon}}
, splits a comma-separated list into parts and creates a list of dragons (link then icon) for use in EventBox and other templates.
Accepts a comma separated list of icon names and turns them into icons using {{template|i}}. Is used by templates like EventBox, or DPL3 templates, to turn the values into properly formatted icons. Works for up to 10 comma separated icon names.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Icon Name | 1 | no description
| String | required |
(Override) Size | size | no description
| Number | optional |