DragonListFromElements: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) (Fix LIKE to HOLDS LIKE now that column type switched) |
CrystalClear (talk | contribs) m (CrystalClear moved page Template:DragonListFromElements-Cargo to Template:DragonListFromElements without leaving a redirect) |
(No difference)
|
Revision as of 12:15, 26 December 2023
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)
{{DragonListFromElements| Fire | Fire }}
gives:
No matching Dragons found
{{DragonListFromElements| Fire }}
gives:
{{DragonListFromElements| Fire | Water }}
gives:
{{DragonListFromElements| Fire | Water | breedable = 1}}
gives:
{{DragonListFromElements| water | fire }}
gives:
{{DragonListFromElements| wind | earth }}
gives:
{{DragonListFromElements| wind | earth | breedable = true}}
gives:
{{DragonListFromElements| legendary | shadow | plant }}
gives:
{{DragonListFromElements| ancient | shadow | plant }}
gives:
{{DragonListFromElements| tyrant | light | wind }}
gives:
See Also
{{DragonListFromElements-DPL3}}
, the DPL3 template that was superseded by this one.{{BreedingCombinations}}
, the primary template that uses this one to produce different formats of breeding combinations.
Generates a Cargo-powered list of dragons based on the provided Element(s). Only Dragons that have ALL specified elements (and the same number of elements) are returned. Boss Dragons are excluded.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1st Specified Element | 1 | Name of the first Element to find, which is searched for in the "base", "second", and "third" columns of the "DragonInfos" Cargo table. As such, values are automatically converted to an uppercase first letter for matching purposes.
| String | required |
2nd Specified Element | 2 | Name of the second Element to find, which is searched for in the "base", "second", and "third" columns of the "DragonInfos" Cargo table. As such, values are automatically converted to an uppercase first letter for matching purposes.
| String | optional |
3rd Specified Element | 3 | Name of the third Element to find, which is searched for in the "base", "second", and "third" columns of the "DragonInfos" Cargo table. As such, values are automatically converted to an uppercase first letter for matching purposes. | String | optional |
breedable | breedable | If not empty, the list outputs only Dragons that are always breedable (Category:Normally-Breedable Dragons)
| Boolean | optional |