Difference between revisions of "Template:ColorText"

From DDO Compendium
 
(9 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
* Light blue
* Chat Blue
* Blue
* Blue
* Green
* Green
* Lime Green
* 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 26: Line 34:
| light red = #BC4F4F
| light red = #BC4F4F
| light blue = #9DD5D5
| light blue = #9DD5D5
| light green = #42F572
| lime green = #88E637
| epicstrike |chat blue = #00BFFF
| yellow = yellow
| yellow = yellow
| custom = {{{3}}}
| custom = {{{3}}}
Line 31: Line 42:
| orange = orange
| orange = orange
| blue = #0060B5
| blue = #0060B5
| purple = purple
| purple = #8a2be2
| mantle= #FB1ABB
| imbue = #00D9FF
| epicmoment= #FFE400
|#default = #00eeef
|#default = #00eeef
}}">{{{2}}}</span></onlyinclude>
}}">{{{2}}}</span></onlyinclude>

Latest revision as of 19:23, 11 November 2022

ColorText[edit]

This template is to put a color (teal by default) around the specified text.

Example Usage
Normal text {{ColorText||Colored Text}} Normal TextNormal text Colored Text Normal Text
Normal text {{ColorText|Purple|Colored Text}} Normal TextNormal text Colored Text Normal Text

Usage[edit]

{{ColorText|(Color)|(Text)|(Color)}}

Parameter Documentation
ColorThe color to use
Possible Values:
  • Teal
  • Light Red
  • Red
  • Yellow
  • Light blue
  • Chat Blue
  • Blue
  • Green
  • Lime Green
  • 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
TextThe text to wrap
ColorThe 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}}}