Template:Text: Difference between revisions

683 bytes added ,  15 November 2016
This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.
(add ability to pass class into span)
(This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
Line 1: Line 1:
See also {{t|texts}} for conversation.
<onlyinclude><!--


--><span {{#if:{{{class|}}}|class="{{{class|colortext}}}"}} {{#switch:{{lc:{{{1}}}}}
|say
|yell
|emote
|flavor
|whisper
|bossemote
|blizz=class{{=}}"text-{{lc:{{{1}}}}}"
|deathknight
|druid
|hunter
|mage
|paladin
|priest
|rogue
|shaman
|warlock
|warrior=class{{=}}"cc-{{lc:{{{1}}}}}"
|red=style{{=}}"color:#DC143C"
|mvp=style{{=}}"color:#81B558"
|#default=style{{=}}"color:{{{1|gray}}};"}}>{{#if:{{{3|}}}|'''{{{2}}}{{#switch:{{lc:{{{1}}}}}|say=<nowiki> </nowiki>says|yell=<nowiki> </nowiki>yells|whisper=<nowiki> </nowiki>whispers}}:''' {{{3}}}|{{{2|}}}}}</span><!--
--></onlyinclude><noinclude>{{documentation}}</noinclude>