Difference between revisions of "Template:ColorText"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>Normal text {{ColorText||Colored Text}} Normal Text</nowiki> | |example1 = <nowiki>Normal text {{ColorText||Colored Text}} Normal Text</nowiki> | ||
|example1output = Normal text {{ColorText||Colored Text}} Normal Text | |example1output = Normal text {{ColorText||Colored Text}} Normal Text | ||
|example2 = <nowiki>Normal text {{ColorText|Purple|Colored Text}} Normal Text</nowiki> | |||
|example2output = Normal text {{ColorText|Purple|Colored Text}} Normal Text | |||
|parameter1name = Color | |parameter1name = Color | ||
|parameter1description = The color to use | |parameter1description = The color to use | ||
Line 12: | Line 14: | ||
* Red | * Red | ||
* Yellow | * Yellow | ||
* Light blue | |||
* Chat Blue | |||
* Blue | * Blue | ||
* Green | * Green | ||
* Lime Green | |||
* Sun | |||
* Moon | |||
* Mantle - this is the color of the mantle name in epic destinies | |||
* EpicStrike - this is the color of the Epic Strike name in epic destinies | |||
* EpicMoment - this is the color of the Epic Moment name in epic destinies | |||
* Imbue - this is the color used with extra imbue dice, and when it it talked about | |||
* Custom - color is in the last parameter | * Custom - color is in the last parameter | ||
|parameter2name = Text | |parameter2name = Text | ||
Line 24: | Line 35: | ||
| red = red | | red = red | ||
| light red = #BC4F4F | | light red = #BC4F4F | ||
| light blue = #9DD5D5 | |||
| light green = #42F572 | |||
| lime green = #88E637 | |||
| epicstrike |chat blue = #00BFFF | |||
| yellow = yellow | | yellow = yellow | ||
| custom = {{{3}}} | | custom = {{{3}}} | ||
| green = green | | green = green | ||
| orange = orange | | orange = orange | ||
| blue = # | | blue = #0060B5 | ||
| purple = | | purple = #8a2be2 | ||
| mantle= #FB1ABB | |||
| imbue = #00D9FF | |||
| epicmoment= #FFE400 | |||
| sun = #F7ECB5 | |||
| moon = #00BCDE | |||
|#default = #00eeef | |#default = #00eeef | ||
}}">{{{2}}}</span></onlyinclude> | }}">{{{2}}}</span></onlyinclude> |
Latest revision as of 16:29, 2 August 2024
ColorText[edit]
This template is to put a color (teal by default) around the specified text.
Example Usage | |
Normal text {{ColorText||Colored Text}} Normal Text | Normal text Colored Text Normal Text |
Normal text {{ColorText|Purple|Colored Text}} Normal Text | Normal text Colored Text Normal Text |
Usage[edit]
{{ColorText|(Color)|(Text)|(Color)}}
Parameter Documentation | |
Color | The color to use Possible Values:
|
Text | The text to wrap |
Color | The custom color text |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{2}}}