Difference between revisions of "Template:Color"
imported>Acrux (GOONwiki's color template) |
imported>Acrux |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
<big><center> | <big><center> | ||
BEFORE YOU USE THESE TO REPRESENT TEXT FROM THE MUD, MAKE SURE YOUR<br /> | BEFORE YOU USE THESE TO REPRESENT TEXT FROM THE MUD, MAKE SURE YOUR<br /> | ||
CLIENT USES THE DEFAULT SIXTEEN COLOR SET. | CLIENT USES THE DEFAULT SIXTEEN COLOR SET.<br /> | ||
DEFAULT TEXT COLOR IS "'''SILVER'''" NOT "GRAY". | DEFAULT TEXT COLOR IS "'''SILVER'''" NOT "GRAY". | ||
</center></big> | </center></big> | ||
| Line 19: | Line 16: | ||
<pre>{{gametext| | <pre>{{gametext| | ||
{{color|aqua|black|[ | {{color|aqua|black|[ BADMIN ]}}{{color|white|black|:}} {{color|fuchsia|black|Gilmore says, "hi guys"}} | ||
}}</pre> | }}</pre> | ||
gives: | gives: | ||
{{gametext| | {{gametext| | ||
{{color|aqua|black|[ | {{color|aqua|black|[ BADMIN ]}}{{color|white|black|:}} {{color|fuchsia|black|Gilmore says, "hi guys"}} | ||
}} | }} | ||
==How to Use== | ==How to Use== | ||
<nowiki>{{color|FOREGROUND|BACKGROUND|TEXT}}</nowiki> | <nowiki>{{color|FOREGROUND|BACKGROUND|TEXT}}</nowiki> | ||
Latest revision as of 02:32, 5 January 2009
{{{3}}}
BEFORE YOU USE THESE TO REPRESENT TEXT FROM THE MUD, MAKE SURE YOUR
CLIENT USES THE DEFAULT SIXTEEN COLOR SET.
DEFAULT TEXT COLOR IS "SILVER" NOT "GRAY".
Appearance
{{color|#ffffff|#000000|This is text.}} gives: This is text.
{{color|#aa0000|#009999|This is text.}} gives: This is text.
{{color|white|black|This is text.}} gives: This is text.
{{color|yellow|grey|This is text.}} gives: This is text.
{{color|blue|silver|This is text.}} gives: This is text.
{{color|grey|yellow|This is text.}} gives: This is text.
{{color|black|aqua|This is text.}} gives: This is text.
{{gametext|
{{color|aqua|black|[ BADMIN ]}}{{color|white|black|:}} {{color|fuchsia|black|Gilmore says, "hi guys"}}
}}
gives:
[ BADMIN ]: Gilmore says, "hi guys"
How to Use
{{color|FOREGROUND|BACKGROUND|TEXT}}
<span style="background: {{{2}}}; color: {{{1}}}">{{{3}}}</span>
Sets foreground and background of a given text. They can be specified by name or in the format #dddddd (RGB hex triplet).
For setting only the foreground, see Template:Color1. For setting only the background, see Template:Color2.
More Information
HellMOO uses the sixteen ANSI colors, which you can use as a parameter:
| Color | Hexadecimal | Color | Hexadecimal |
|---|---|---|---|
| black | #000000 | gray | #808080 |
| silver | #c0c0c0 | white | #ffffff |
| maroon | #800000 | red | #ff0000 |
| purple | #800080 | fuchsia | #ff00ff |
| green | #008000 | lime | #00ff00 |
| olive | #808000 | yellow | #ffff00 |
| navy | #000080 | blue | #0000ff |
| teal | #008080 | aqua | #00ffff |