Template:Swatch
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)
{{Swatch|033e5e}}{{Swatch|588fad}}
gives:
#033e5e
#588fad
{{Swatch|fff|black|cccccc}}
gives:
#fff
{{Swatch|000||cccccc}}
gives:
#000
See Also
Applies CSS styles to create rounded, colored swatches for use in other templates, primarily {EventColorChoices}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Background color | 1 | no description
| String | required |
Text color | 2 | no description
| String | optional |
Border color | 3 | no description
| String | optional |