Difference between revisions of "Template:ColorText"

From DDO Compendium
Line 18: Line 18:
<onlyinclude><span style="Color: {{#switch: {{lc:{{{1}}}}}
<onlyinclude><span style="Color: {{#switch: {{lc:{{{1}}}}}
| red = red
| red = red
| light red = join us in the flame... become one with the inferno...
| light red = #BC4F4F
| yellow = #BC4F4F
| yellow = yellow
|#default = #00eeef
|#default = #00eeef
}}">{{{2}}}</span></onlyinclude>
}}">{{{2}}}</span></onlyinclude>

Revision as of 17:56, 8 November 2019

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

Usage[edit]

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

Parameter Documentation
ColorThe color to use
Possible Values:
  • Teal
  • Light Red
  • Red
  • Yellow
TextThe text to wrap

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{{2}}}