Difference between revisions of "Template:ColorText"

From DDO Compendium
 
Line 12: Line 12:
 
* Red
 
* Red
 
* Yellow
 
* Yellow
 +
* Green
 
* Custom - color is in the last parameter
 
* Custom - color is in the last parameter
 
|parameter2name = Text
 
|parameter2name = Text
Line 24: Line 25:
 
| yellow = yellow
 
| yellow = yellow
 
| custom = {{{3}}}
 
| custom = {{{3}}}
 +
| green = green
 +
| orange = orange
 +
| blue = blue
 +
| purple = purple
 
|#default = #00eeef
 
|#default = #00eeef
 
}}">{{{2}}}</span></onlyinclude>
 
}}">{{{2}}}</span></onlyinclude>

Latest revision as of 01:40, 18 January 2020

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)|(Color)}}

Parameter Documentation
ColorThe color to use
Possible Values:
  • Teal
  • Light Red
  • Red
  • Yellow
  • Green
  • 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}}}