Template:Color
From Dragon Mania Legends (DML) Wiki
{{{2}}}
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)
{{color|8800ff|Purple text}}
gives:
Purple text
{{color|purple|Also purple text|1}}
gives:
Really purple text
Wraps the content entered in a span with the specified HEX color. If a named color should be used instead of a hex code, parameter {3} must not be empty.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color | 1 | Enter a hex color code. To use a named color, set parameter 3 to non-empty.
| String | required |
Text Content | 2 | Enter the text that you want to appear in the color specified | String | required |
Non-hex color | 3 | Set this parameter to skip adding the # character (when specifying non-hex color). Leave empty for hex colors.
| Boolean | optional |