Template:Collection/doc
From Dragon Mania Legends (DML) Wiki
< Template:CollectionDocumentation subpage |
---|
View this documentation's related template: Template:Collection |
Example(s)
{{collection|icon=Heart|section=Dragolanders|Arya, Ned, Hogwin|{{dci|Academy}}}}
gives:
{{collection|icon=Fire (Element)|section=First Friends|Fire, Wind, Bee, Smoke|{{dci|Earth}}|collapsed=n}}
gives:
See Also
{{Meta}}
, a similar template but for Meta Collections.{{StageRow}}
, a template that generates table rows for Staged Collections.- Dragon Codex, the primary page where this template is used.
- MediaWiki: Advanced Collapsible Elements, for code examples used to create this template.
Creates a preformatted codex collection.
Parameter | Description | Type | Status | |
---|---|---|---|---|
icon | icon | Enter the Icon name, omitting the word "Icon" and omitting file extension (assumes PNG). | String | required |
1 | 1 dragons | Enter a comma-separated list of Dragon names (omitting the word "Dragon")
| String | required |
2 | 2 section | Enter the Codex section name text, exactly how it appears in-game. | String | required |
reward | reward | Specify the collection reward, adding any templates or formatting as needed (none is applied by default, since this field can contain different things). | String | optional |
(Override, icon width) px | px | To override the icon width, specify a width number.
| Number | optional |
(Override) collapsed | collapsed | To override the default collapsed display, add |collapsed=n
| String | optional |