Template:Text
From WoWWiki
Contents |
Purpose
A template to simply color text. This template comes preloaded with coloring for NPC emotes, says, yells, and whispers. It can also handle the class colors.
Usage
{{Text|colorMode|text}}
Specific colorMode keywords:
- say, emote, yell, whisper, blizz, bossemote
- deathknight, druid, hunter, mage, paladin, priest, rogue, shaman, warlock, warrior
Other colorMode options:
- Html color names (black, white, purple, lightgreen, etc.)
- Html hex color specifications of the form #RRGGBB, where RR, GG, and BB are hexadecimal numbers between 00 and FF.
- Html RGB color specifications in form of rgb(RR,GG,BB)
Be careful when using other color modes than the predefined options. The sixteen predefined options are designed to work on both light-colored and dark-colored (the default) skins. If you're not using one of the six, test your colors on a light skin (say, monobook) to make sure it looks ok.
- Examples
* {{Text|Emote|The comedian impersonates an orc.}}
* {{Text|say|Perry Gatner says: One last impersonation. It's tough, but let's see if you can guess who it is...}}
* {{Text|yell|Illidan yells: YOU ARE NOT PREPARED!}}
* {{Text|whisper|An Unknown Voice whispers: Tell yourself again that these are not truly your friends.}}
* {{Text|bossemote|King Ymiron motions for silence.}}
* {{Text|blizz|This is the Blizz forum color.}}
* {{Text|purple|Something purple.}}
* {{Text|rgb(120,120,120)|Custom color of gray}}
* {{Text|#99FFFF|Something 99FFFF.}}
- Yield
- The comedian impersonates an orc.
- Perry Gatner says: One last impersonation. It's tough, but let's see if you can guess who it is...
- Illidan yells: YOU ARE NOT PREPARED!
- An Unknown Voice whispers: Tell yourself again that these are not truly your friends.
- King Ymiron motions for silence.
- This is the Blizz forum color.
- Something purple.
- Custom color of gray
- Something 99FFFF.
- Class colors
|
|
