Template:Message

View | Edit | Page history | … |



This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Please follow the format on this subpage(s) to add translations.
This template allows you to post topic comments on discussion pages with a prettier design.
Copy and Paste
Parameters and Examples
Parameter (* Required) |
Description | Example | Preview |
---|---|---|---|
*{{{user}}}
|
Loads an avatar (UserAvatar-<user>.png ) and signs a comment (without a timestamp).
![]() |
||
*{{{time}}}
|
Timestamp written after the nickname. The input value is a function that defines the time in UTC+0. After saving, the #time function will be converted to a regular date. Don’t change the #time function.
![]() {{SUBST:#time:G:i, j M Y|now}} |
Undefined user 16:00, 29 March 2021 (UTC)
Hello, World!
| |
{{{edited}}}
|
Date and time of editing. Note that changes in the code, such as correcting the parameter name, should not be taken into account when using {{{edited}}}. | Undefined user Timestamp not defined (edited)
Hello, World!
| |
* {{{1}}} or {{{text}}}
|
The text of your message.
The second option is needed in cases when the text is not displayed for various reasons (for example, when ![]() ![]() |
Undefined user Timestamp not defined
My sweet message!
| |
{{{reply}}}
|
The solution to your question. | Another person’s text is written here.
Undefined user Timestamp not defined
And this is your sweet message.
|
Included Subpages
Below are the subpages that are used by this template for better code readability or something else.
/strings
- Translatable strings.
The above documentation is transcluded from Template:Message/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.