Template:Mes/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} The '''message''' template can be used to display text the way it would be displayed in ''RuneScape'' messages. The internal Jagex function that produces this text is called <code>mes</code>. For overhead chat text, use Template:Overhead. <pre>{{mes|text|colour=optional colour}}</pre> ;Example <nowiki>{{mes|The quick, brown fox jumps over the lazy dog.}}</nowiki> {{mes|The quick, brown fox jumps over the lazy dog.}} <nowiki>{{mes|The quick, brow...")
 
No edit summary
 
Line 44: Line 44:
==See also==
==See also==
*[[Template:Overhead]] for overhead chat text.
*[[Template:Overhead]] for overhead chat text.
*[[Template:Tbox]] for chatbox text on transcript mw.pages.
*[[Template:Tbox]] for chatbox text on transcript pages.


<includeonly>[[Category:Formatting templates|{{PAGENAME}}]][[Category:Transcript templates]]</includeonly>
<includeonly>[[Category:Formatting templates|{{PAGENAME}}]][[Category:Transcript templates]]</includeonly>

Latest revision as of 11:49, 17 October 2024

This is a documentation subpage for Template:Mes.
It contains usage information, categories, and other content that is not part of the original template page.

The message template can be used to display text the way it would be displayed in RuneScape messages. The internal Jagex function that produces this text is called mes. For overhead chat text, use Template:Overhead.

{{mes|text|colour=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!|colour=red}}

The quick, brown fox jumps over the lazy dog!

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

The message template can be used to display text the way it would be displayed in RuneScape messages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Text to be displayed.

Stringoptional
Text colourcolour color

no description

Unknownoptional
Font sizesize

no description

Unknownoptional
Text shadowshadow

no description

Unknownoptional
Background colourbg

no description

Unknownoptional

See also