Template:Message

From GodWiki
Jump to: navigation, search

Tick.png Done

[view] [edit] [history] [refresh]
📚 Documentation

This template can be used to show preset messages or to create your own. A list of preset messages is shown below. The purpose of these messages is generally to be used on talk pages during discussions of article content, or on user pages (especially with to do lists).

The {{m}} template is a shortcut to this template.

Parameters

Listed below are the parameters this template supports. Generally, you will only ever need to use the first unnamed parameter, as the others are used to override the default behavior of this template. (see Recognized message arguments for the list of valid values of this argument.)

Parameter Description
{{{1}}} The first unnamed parameter is a predefined value that correlates to one of the values listed in the table below. Unless you specify values for the other parameters, this one is considered mandatory. Valid values are listed in the table below. Values are not case-sensitive.
background OPTIONAL The background color of the message, useful only when you don't provide a value for {{{1}}}.
custom-icon OPTIONAL Custom icon which supports HTML that can be used in place of the image parameter. Useful only when you don't provide a value for {{{1}}}. Defaults to nothing. If this parameter is specified, it overrides image.
image OPTIONAL The name of an image in the File namespace to use with the message, useful only when you don't provide a value for {{{1}}}. Defaults to tick.png. (Tick.png)
message OPTIONAL The message to display. This message will appear in bold text. If {{{1}}} is not specified, the value of this parameter defaults to Done. If {{{1}}} is specified, the value of this parameter overrides the default messages provided in the table below.

Recognized message arguments

Code Appears as
{{m|done}} Tick.png Done
{{m|notdone}} Cross.png Not done
{{m|notdone2}} Cross.png Not done and not likely to be done
{{m|started}} Started.png Started
{{m|partlydone}} Yellowtick.png Partly done
{{m|doing}} Doing.png Doing...
{{m|inprogress}} Doing.png In progress...
{{m|notnow}} Doing.png Not now...
{{m|checking}} Checking.png Checking...
{{m|later}} Future.png Later...
{{m|stale}} Cross.png Stale
{{m|fixed}} Fixed.png Fixed
{{m|wontfix}} Wontfux.png Won't fix
{{m|added}} Plus.png Added
{{m|notsure}} Question.png Not sure
{{m|thankyou}} or {{m|thanks}} Smiley.png Thank you!
{{m|yourewelcome}} Smiley.png You're welcome!
{{m|duck}} Ducky.png It looks like a duck to me
{{m|idea}} Ideaicon.png Idea:
{{m|question}} Questiony.png Question:
{{m|note}} Notey.png Note:
{{m|onhold}} Hold.png On hold until
{{m|ack}} Acky.png Acknowledged
{{m|conf}} Acky.png Confirmed
{{m|feed}} Notey.png Feedback required
{{m|bold}} 👍 Be bold!
{{m|great}} 🤩 Great work!

Examples

Markup Result Details
{{m|done}} Tick.png Done Selects and displays the default message called "done".
{{m|wontfix|message=Abandoned}} Wontfux.png Abandoned Selects and displays the default message called "wontfix" but overrides the displayed message to "Abandoned".
{{m|message=Error|image=wontfux.png|background=#ef9595}} Wontfux.png Error Creates a custom message with the message text "Error" using "wontfux.png" (Wontfux.png) as the image, and colorizes the background a reddish-pink color.
{{m|message=Fixed|custom-icon=<big>🤩</big>}} 🤩 Fixed Creates a custom message with the message text "Fixed" using "🤩" in place of an image. The background is left transparent.

Example of use:

{{m|done}} I've done that thing we discussed! -- ~~~~

Tick.png Done I've done that thing we discussed! -- ~~~~