Template:DotmRow
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)
No Collection/Section Column (old tables)
{{DotmRow|January|Frog Prince|Earth, Water, Plant, Energy|year=2024}}
gives:
|January | Frog Prince Dragon |
|-
Collection/Section Column with "n/a"
{{DotmRow|March|Mishiyo|Wind,Water,Metal,Void|n/a|year=2024}}
gives:
|March | Mishiyo Dragon | |rowspan="1"|n/a |-
Collection
{{DotmRow|April|Robin Hood|Wind, Water, Plant, Energy|n/a|year=2024}}
gives:
|April | Robin Hood Dragon | |rowspan="1"|n/a |-
Collection AND Section Column
{{DotmRow|January|Rathorn|Wind, Water, Plant, Energy|Tyrannicals|Doppelgänger Dragons|year=2024}}
gives:
|January
| Rathorn Dragon
|
|rowspan="1"|Tyrannicals
Doppelgänger Dragons
|-
The following (with |span=3
on the first row):
This causes the following 2 rows to inherit the "collection" (and "section" if specified) of the first row that sets the rowspan.
{| class="wikitable" !Month !Dragon !Elements Needed !Collection / Meta Collection {{i|Meta Collection}}<br>{{span|<small>Section (if applicable)</small></span>}} |- {{DotmRow|January|Rathorn|Wind, Water, Plant, Energy|Collection Example|Section Example|span=3|year=2024}} {{DotmRow|January|Frog Prince|Earth, Water, Plant, Energy|year=2024}} {{DotmRow|January|Eliza|Fire, Earth, Plant, Metal|year=2024}} |}
Gives:
Month | Dragon | Elements Needed | Collection / Meta Collection Section (if applicable) |
---|---|---|---|
January | Rathorn Dragon | Collection Example Section Example | |
January | Frog Prince Dragon | ||
January | Eliza Dragon |
See Also
{{dotwRow}}
, a similar template but for Dragon of the Week.{{LottoRow}}
, a similar template but for Otto's Lotto.{{wdpRow}}
, a similar template but for Weekly Dragon Pieces.- Dragon of the Month, the page where this template is primarily used.
- Table row templates, for other row templates.
Creates a DOTM table row, in template format. The data can be used by data extensions to determine how many times a Dragon has been featured as DOTM.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(month) 1 | 1 month | Enter the full month name the Dragon was available for.
| String | required |
(dragon) 2 | 2 dragon | Enter the Dragon name (without the word "Dragon").
| String | required |
(elements) 3 | 3 elements | Enter a comma separated list of elements.
| String | required |
(collection) 4 | 4 collection | If the Dragon appears in a collection, enter the collection name.
| String | optional |
(section) 5 | 5 section | If the Dragon appears in a Meta Collection section, enter the section name.
| String | optional |
(year) 6 | 6 year | Enter the 4-digit year. | Number | required |
(Override, row) span | span | To span a cell downwards a certain number of rows, enter the number (ensuring that none of the affected lower rows have a value set for "collection" or "section" whose values should be entered in the cell that spans).
| Number | optional |