Template:Color/doc
From Dragon Mania Legends (DML) Wiki
< Template:ColorDocumentation subpage |
---|
View this documentation's related template: Template:Color |
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 |