Difference between revisions of "Template:ColorText"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 12: | Line 12: | ||
* Red | * Red | ||
* Yellow | * Yellow | ||
* Custom - color is in the last parameter | |||
|parameter2name = Text | |parameter2name = Text | ||
|parameter2description = The text to wrap | |parameter2description = The text to wrap | ||
|parameter3name = Color | |||
|parameter3description = The custom color text | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 20: | Line 23: | ||
| light red = #BC4F4F | | light red = #BC4F4F | ||
| yellow = yellow | | yellow = yellow | ||
| custom = {{{3}}} | |||
|#default = #00eeef | |#default = #00eeef | ||
}}">{{{2}}}</span></onlyinclude> | }}">{{{2}}}</span></onlyinclude> |
Revision as of 21:04, 10 December 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 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}}}