Difference between revisions of "Template:ColorText"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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 36: | Line 38: | ||
| orange = orange | | orange = orange | ||
| blue = #0060B5 | | blue = #0060B5 | ||
| purple = | | purple = #8a2be2 | ||
| mantle= #FB1ABB | | mantle= #FB1ABB | ||
| epicmoment= #FFE400 | | epicmoment= #FFE400 | ||
|#default = #00eeef | |#default = #00eeef | ||
}}">{{{2}}}</span></onlyinclude> | }}">{{{2}}}</span></onlyinclude> |
Revision as of 15:01, 19 April 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 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}}}