Template:ColorCodes/doc
From Dragon Mania Legends (DML) Wiki
< Template:ColorCodesDocumentation subpage |
---|
View this documentation's related template: Template:ColorCodes |
See Also
{{EventColorChoices}}
, where the color mappings to event icons appear.
Examples
{{ColorCodes|Fire}}
CE4421{{ColorCodes|Fire|true}}
9E2810{{EvColor|{{ColorCodes|Fire}} }}
{{EvColor|{{ColorCodes|Tyrant}} }}
{{EvColor|{{ColorCodes|Ancient}} }}
{{EvColor|{{ColorCodes|Primal}} }}
{{EvColor|{{ColorCodes|Epic|dark}} }}
{{EvColor|{{ColorCodes|Treasure Hunt}} }}
{{swatch|{{ColorCodes|Fire}}||{{ColorCodes|Fire|dark}}}}{{swatch|{{ColorCodes|Tyrant}}||{{ColorCodes|Fire|Tyrant}}}}{{swatch|{{ColorCodes|Ancient}}||{{ColorCodes|Fire|Ancient}}}}
gives:
#CE4421
#ea2a2a
#C91B69
- Also used in
{{elements}}
,{{rarity}}
,{{events}}
:
From User:LoriN
#05637a
#01878a
#1db1b3
#dc50ae
#c03b94
#601761
#854495
#b780c7
#ed164a
#ff5139
#ff823b
#ffb811
#9cb93b
#5aa71c
#458239
#01511e
#803f0e
#a7d9f5
#70cafb
#24a0ec
#015eb3
#014685
#ffffff
#999999
#777777
#444444
#000000
#033e5e
#588fad
#94bdd3
Event | Color | Example | Background | Border | Reason for Choice |
---|---|---|---|---|---|
Sigil Campagin | #05637a
|
#05637a | #01878a | Basic sigil chest color | |
Calendar | #01878a
|
#01878a | #71bbbd | None other than it is pretty | |
Solo | #1db1b3
|
#1db1b3 | #8cd7d8 | Last event I placed and ran out of other options | |
Chain Breeding | #dc50ae
|
#dc50ae | #f9b9e4 | Romantic heart pink | |
Chest Opening | #c03b94
|
#c03b94 | #d989be | Ancient color | |
Gold Spending | #601761
|
#601761 | #9e719e | Spending like royalty (purple) | |
Gem Spending | #854495
|
#854495 | #b780c7 | Duh - gotta be purple | |
#b780c7
|
#b780c7 | #d7b9e0 | |||
Feeding | #ed164a
|
#ed164a | #f691aa | Dragon fruit | |
Movie Marathon | #ff5139
|
#ff5139 | #ff8979 | Curtains in the background of event are reddish orange | |
Food Gathering | #ff823b
|
#ff823b | #ffb489 | Fall harvest | |
Gold Collecting | #ffb811
|
#ffb811 | #fcd986 | Gotta be yellow | |
Relay | #9cb93b
|
#9cb93b | #b5cb6d | Close match to current color | |
Stone Gathering | #5aa71c
|
#5aa71c | #66b923 | Grinding the Dungeon to get the equivalent to dungeon cash (so green) | |
Hatching | #458239
|
#458239 | #86ad7e | Birth, renewal, life | |
Collection | #01511e
|
#01511e | #5d98ce | Um, I just like the color and wanted to use it for something | |
Treasure Hunt | #803f0e
|
#803f0e | #97633b | Buried chests are often dark wood | |
Dragon Grid | #a7d9f5
|
#a7d9f5 | #cbeafc | ||
- | #70cafb
|
#70cafb | #bbe6fc | This color might be too obnoxious? | |
Community | #24a0ec
|
#24a0ec | #7ec7f3 | FB Blue | |
Clan | #015eb3
|
#015eb3 | #669dd1 | Close to current color | |
Dragon Dice | #014685
|
#014685 | #7097ba | The second dice is a dark blue, close to this | |
#ffffff
|
#ffffff | #cccccc | |||
Other | #999999
|
#999999 | #ccc | ||
Stone Spending | #777777
|
#777777 | #999999 | Spent in the dungeon (gray) | |
Castle | #444444
|
#444444 | #777777 | Castle stone | |
#000000
|
#000000 | #777777 | |||
Arcade | #033e5e
|
#033e5e | #588fad | Because it didn't look gross beside cake craze | |
Cake Craze | #588fad
|
#588fad | #94bdd3 | The cake icon has this color in it | |
Milestone Rewards | #94bdd3
|
#94bdd3 | #c9dee9 |
This template contains ALL colors used in this wiki that are mapped to Elements/Events/Rarities/whatever. It returns the color code for the provided Parameter, without any leading "#". E.g. "959595" for "Metal" or "5F9EA0" for "Arcade". Can be used in combination with the {evColor} template and gets used itself by the {EventBox/BackgroundColor} and many other color templates. To get the Border color, the second parameter must be set.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | 1 | The type of Element/Rarity/Event to fetch the color code for.
| String | required |
dark? | 2 | If this parameter is set, the darker colors for the type is returned.
| Boolean | optional |