Template:Mes
Revision as of 13:29, 7 November 2022 by Jacmob (talk | contribs) (Created page with "<span style="color:{{{colour|{{{color|white}}}}}}; font-family: RuneScape; font-size:{{{size|12}}}pt; {{#ifeq:{{lc:{{{shadow}}}}}|no||text-shadow:0.5px 0.5px 0px #000;}}; {{#if:{{{bg|}}}|background:{{{bg}}};padding:2px 5px;border-radius:1.5px;|{{#ifeq:{{{color|white}}}|white|background:rgba(0,0,0,0.4);padding:2px 5px;border-radius:1.5px;}}}};">{{{1}}}</span><noinclude>{{/doc}}</noinclude>")
{{{1}}}
Template documentation
This documentation is transcluded from Template:Mes/doc. [edit] [history] [purge]
The message template can be used to display text the way it would be displayed in Near-Reality messages. The internal Near-Reality function that produces this text is called mes
. For overhead chat text, use Template:Overhead.
Note: 'color' is spelled without the 'u' as this is how it appears in CSS styling.
{{mes|text|color=optional colour}}
- Example
{{mes|The quick, brown fox jumps over the lazy dog.}}
The quick, brown fox jumps over the lazy dog.
{{mes|The quick, brown fox jumps over the lazy dog!|color=red}}
The quick, brown fox jumps over the lazy dog!
See also
- Template:Overhead for overhead chat text.
- Template:Tbox for chatbox text on transcript pages.